[Allegro] nachtrag zu "source-code zu avanti: anmerks und fragen" plus bugs -> viele fehler in der config.log!

Klaus Lehmann lehmann_klaus at t-online.de
Mi Dez 21 10:21:52 CET 2011


Guten Tag [Frau/Herr] Bernhard Eversberg,
danke für Ihre Nachricht.
Am Mittwoch, 21. Dezember 2011 um 09:43 schrieben Sie mir.
Ihre Nachricht finden Sie am Ende dieser eMail.

> Am 21.12.2011 09:28, schrieb Klaus Lehmann:
...
> Der Startpfad wird von avanti so bestimmt:
>             strcpy(startpath,getcwd(startpath,255));

> anscheinend kommt dann bei Ihnen /etc raus!? Und auf dem startpath
> wird avanti.con, bei Mißerfolg avanti.conf, gesucht.
> Die Funktion getcwd() ist aber womöglich problematisch, abhängig von der
> Plattform oder was immer.
> B.E.
danke für den tip.
derzeit ist configure erschwert/unmöglich. es bliebt beim bigendian 
(eine enzian-abart?)
es wird zeit in die log zu schauen. da ist noch mehr!

also config.log:
es sind ca 7-10 fehlermeldung. kann man wirklich diese ignorieren???



                         || test ! -s conftest.err
configure:2519: $? = 0
configure:2522: test -s conftest.o
configure:2525: $? = 0
configure:2543: result: none needed
configure:2561: gcc -c -g -O2  conftest.c >&5
conftest.c:2:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2567: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2711: checking for style of include used by make
configure:2739: result: GNU
configure:2767: checking dependency style of gcc
configure:2857: result: gcc3
configure:2926: checking for g++
configure:2942: found /usr/bin/g++
configure:2952: result: g++
configure:2968: checking for C++ compiler version
configure:2971: g++ --version </dev/null >&5
g++ (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                                                                                       

in der configure stehts so geschrieben:
zeile 2593 fängt so an:
# Some people use a C++ compiler to compile C.  Since we use `exit',
# in C++ we need to declare it.  In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus
  choke me
#endif    


weiter in der config.log:
                         || test ! -s conftest.err
configure:3155: $? = 0
configure:3158: test -s conftest.o
configure:3161: $? = 0
configure:3187: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:15:9: error: 'exit' was not declared in this scope
configure:3193: $? = 1
configure: failed program was:
| /* confdefs.h.  */                                               


weiter:
configure:3142: g++ -c -g -O2  conftest.cc >&5
conftest.cc:11:40: error: 'void std::exit(int)' should have been declared inside 'std'
configure:3148: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|                                            


weiter:
configure:3142: g++ -c -g -O2  conftest.cc >&5
conftest.cc:11:31: error: 'void std::exit(int)' should have been declared inside 'std'
In file included from conftest.cc:12:0:
/usr/include/stdlib.h:543:70: error: declaration of 'void std::exit(int) throw ()' throws different exceptions
conftest.cc:11:17: error: from previous declaration 'void std::exit(int)'
configure:3148: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|                                             



weiter: 
                         || test ! -s conftest.err
configure:3674: $? = 0
configure:3677: test -s conftest
configure:3680: $? = 0
configure:3693: result: yes
configure:3711: checking how to run the C preprocessor
configure:3746: gcc -E  conftest.c
configure:3752: $? = 0
configure:3784: gcc -E  conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3790: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "avanti"
| #define PACKAGE_TARNAME "avanti"
| #define PACKAGE_VERSION "30.10"
| #define PACKAGE_STRING "avanti 30.10"
| #define PACKAGE_BUGREPORT "b.eversberg at tu-bs.de"
| #define PACKAGE "avanti"
| #define VERSION "30.10"
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| #define HAVE_LIBNSL 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3829: result: gcc -E
configure:3853: gcc -E  conftest.c
configure:3859: $? = 0
configure:3891: gcc -E  conftest.c
conftest.c:15:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:3897: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|                                                                  


weiter: 
                         || test ! -s conftest.err
configure:4843: $? = 0
configure:4846: test -s conftest
configure:4849: $? = 0
configure:4861: result: yes
configure:4880: checking for unistd.h
configure:4885: result: yes
configure:4889: checking vfork.h usability
configure:4901: gcc -c -g -O2 -funsigned-char  conftest.c >&5
conftest.c:80:19: fatal error: vfork.h: No such file or directory
compilation terminated.
configure:4907: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|                                                                     


weiter: 
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <vfork.h>
configure:4930: result: no
configure:4934: checking vfork.h presence
configure:4944: gcc -E  conftest.c
conftest.c:46:19: fatal error: vfork.h: No such file or directory
compilation terminated.
configure:4950: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|                                                                     



weiter: 
                         || test ! -s conftest.err
configure:5100: $? = 0
configure:5103: test -s conftest
configure:5106: $? = 0
configure:5118: result: yes
configure:5129: checking for working fork
configure:5152: gcc -o conftest -g -O2 -funsigned-char   conftest.c -lnsl  >&5
conftest.c: In function 'main':
conftest.c:10:4: warning: incompatible implicit declaration of built-in function 'exit'
configure:5155: $? = 0
configure:5157: ./conftest
configure:5160: $? = 0
configure:5174: result: yes
configure:5195: checking for working vfork
configure:5328: result: yes
configure:5364: checking for stdlib.h
configure:5369: result: yes
configure:5509: checking for GNU libc compatible malloc
configure:5538: gcc -o conftest -g -O2 -funsigned-char   conftest.c -lnsl  >&5
configure:5541: $? = 0
configure:5543: ./conftest
configure:5546: $? = 0
configure:5560: result: yes
configure:5590: checking for function prototypes
configure:5593: result: yes
configure:5610: checking whether setvbuf arguments are reversed
configure:5635: gcc -o conftest -g -O2 -funsigned-char   conftest.c -lnsl  >&5
conftest.c:56:10: error: conflicting types for 'setvbuf'
/usr/include/stdio.h:315:12: note: previous declaration of 'setvbuf' was here
configure:5641: $? = 1
configure: failed program was:
| /* confdefs.h.  */                   


und weiter: 
                         || test ! -s conftest.err
configure:6768: $? = 0
configure:6771: test -s conftest.o
configure:6774: $? = 0
configure:6798: gcc -c -g -O2 -funsigned-char  conftest.c >&5
conftest.c: In function 'main':
conftest.c:81:2: error: 'not' undeclared (first use in this function)
conftest.c:81:2: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:81:6: error: expected ';' before 'big'
configure:6804: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|                     


haben diese fehler etwas damit zu tun, daß sie (=BS) auf solaris arbeiten?
kann es sein, daß das gcc von solaris doch anders ist, als das der 
volks-linux-distributionen? auf den meisten servern läuft nun mal 
debil, uckatschaka-ukatschaka und heulsuse [ich habe selber die 
heulsuse, also regt EUCH ab ;-)]

gruß k.l.


-- 
Mit freundlichen Grüßen,
Ihr Klaus Lehmann
* http://allegronet.de * eMail: allegronet at t-online.de * phone: 03528-452 807(fax 809) * mobil: 0171-953 7843
* allegronet.de * Klaus Lehmann * D-01454 Radeberg * Kleinwolmsdorfer Str. 37
* Software für zufriedene Bibliothekare: 1000x bewaehrt und ergiebig
* Bereits 4x allegro-utf8. Buchen Sie die allegro-Roadshow
* Yes we can. Only with allegro. Yes we do. Allways with allegro.
* Internetkataloge&WebHosting für Allegro-C
* 2011: Sponsor der Peter-Sodann-Bibliothek (Staucha)






Mehr Informationen über die Mailingliste Allegro