On Thu, Jan 18, 2001 at 03:13:02PM +0100, Akim Demaille wrote: : >>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: : : Alexandre> On Jan 18, 2001, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: : >> I've attached a config.log that shows more problems with exit(). : : Alexandre> We should probably move the '' case first. This will : Alexandre> probably work with VC++, and will be fine for most existing : Alexandre> C++ compilers. : : Of course!!! Great idea!!! : : Lars, does it work as expected? It works like a charm with g++: It didn't do any difference for me, but it wasn't me who had the problem. I'm waiting for feedback, if any, from the one who sent me the config.log. I noticed that when I moved '' first, the first exit(42) test didn't include <stdlib.h> - is that right? I would assume we would want to see if including <stdlib.h> was enough with the '' case, not that exit() was implicitly prototyped by the compiler... I've attached my config.log so you can see the route it took on my system. Lars J
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure 2.49c, executed with > ../../src/Coin/configure --prefix=/cygdrive/d/Packages/Coin3D >--with-simage=/cygdrive/d/Packages/Coin3D ## ---------- ## ## Platform. ## ## ---------- ## hostname = FREYA uname -m = i686 uname -r = 1.1.7(0.31/3/2) uname -s = CYGWIN_NT-5.0 uname -v = 2000-12-25 12:39 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH = /home/larsa/bin:/usr/local/bin:/usr/local/lib:/usr/bin:/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/Microsoft Visual Studio/Common/Tools/WinNT:/cygdrive/c/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin:/cygdrive/c/Program Files/Microsoft Visual Studio/Common/Tools:/cygdrive/c/Program Files/Microsoft Visual Studio/VC98/bin:/cygdrive/d/Packages/Borland55/Bin:/cygdrive/d/Packages/Misc:/cygdrive/d/Packages/Qt-2.2.3/bin:/cygdrive/d/Packages/Coin3D/bin ## ------------ ## ## Core tests. ## ## ------------ ## configure:1243: checking build system type configure:1261: result: i686-pc-cygwin configure:1268: checking host system type configure:1282: result: i686-pc-cygwin configure:1289: checking target system type configure:1303: result: i686-pc-cygwin configure:1329: checking for a BSD compatible install configure:1378: result: /usr/bin/install -c configure:1389: checking whether build environment is sane configure:1432: result: yes configure:1469: checking for mawk configure:1494: result: no configure:1469: checking for gawk configure:1491: result: gawk configure:1501: checking whether make sets ${MAKE} configure:1521: result: yes configure:1641: checking whether to enable maintainer-specific portions of Makefiles configure:1650: result: no configure:1749: checking for ranlib configure:1772: result: true configure:1791: checking how to run the C preprocessor configure:1815: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.c >/dev/null configure:1821: $? = 0 configure:1840: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.c >/dev/null configure(1837) : fatal error C1083: Cannot open include file: 'ac_nonexistent.h': No such file or directory configure:1846: $? = 2 configure: failed program was: #line 1836 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:1961: result: /home/larsa/src/Coin/cfg/m4/msvccc -E configure:2017: checking for gcc configure:2039: result: /home/larsa/src/Coin/cfg/m4/msvccc configure:2261: checking whether the C compiler works configure:2276: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest conftest.c >&5 configure:2279: $? = 0 configure:2281: test -s conftest configure:2284: $? = 0 configure:2289: ./conftest configure:2292: $? = 0 configure:2307: result: yes configure:2319: checking whether we are cross compiling configure:2321: result: no configure:2324: checking whether we are using the GNU C compiler configure:2345: /home/larsa/src/Coin/cfg/m4/msvccc -c conftest.c >&5 configure(2336) : error C2065: 'choke' : undeclared identifier configure(2336) : error C2146: syntax error : missing ';' before identifier 'me' configure(2339) : error C2065: 'me' : undeclared identifier configure:2348: $? = 2 configure: failed program was: #line 2330 "configure" #include "confdefs.h" int main () { #ifndef __GNUC__ choke me #endif ; return 0; } configure:2360: result: no configure:2363: checking for object suffix configure:2381: /home/larsa/src/Coin/cfg/m4/msvccc -c conftest.c >&5 configure:2384: $? = 0 configure:2403: result: obj configure:2407: checking for executable suffix configure:2426: /home/larsa/src/Coin/cfg/m4/msvccc conftest.c >&5 configure:2429: $? = 0 configure:2450: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest conftest.c >&5 configure:2453: $? = 0 configure:2455: test -s conftest configure:2458: $? = 0 configure:2484: result: .exe configure:2491: checking whether /home/larsa/src/Coin/cfg/m4/msvccc accepts -g configure:2509: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.c >&5 configure:2512: $? = 0 configure:2522: result: yes configure:2549: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.c >&5 conftest.c(2) : error C2061: syntax error : identifier 'me' conftest.c(2) : error C2059: syntax error : ';' configure:2552: $? = 2 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2631: checking dependency style of /home/larsa/src/Coin/cfg/m4/msvccc configure:2673: result: none configure:2715: checking for non-GNU ld configure:2745: result: /bin/ld configure:2754: checking if the linker (/bin/ld) is GNU ld GNU ld version 2.10.91 (with BFD 2.10.91) configure:2766: result: yes configure:2769: checking for BSD-compatible nm configure:2803: result: /usr/bin/nm -B configure:2806: checking whether ln -s works configure:2825: result: yes ltconfig:581: checking whether we are using GNU C ltconfig:589: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.c ltconfig:603: checking for object suffix ltconfig:604: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.c 1>&5 ltconfig:829: checking if /home/larsa/src/Coin/cfg/m4/msvccc supports -c -o file.o ltconfig:830: /home/larsa/src/Coin/cfg/m4/msvccc -c -g -o out/conftest2.o conftest.c 1>&5 ltconfig:862: checking if /home/larsa/src/Coin/cfg/m4/msvccc supports -c -o file.lo ltconfig:863: /home/larsa/src/Coin/cfg/m4/msvccc -c -g -c -o conftest.lo conftest.c 1>&5 ltconfig:958: checking if /home/larsa/src/Coin/cfg/m4/msvccc static flag works ltconfig:959: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest -g conftest.c 1>&5 GNU ld version 2.10.91 (with BFD 2.10.91) ltconfig:1653: checking if global_symbol_pipe works ltconfig:1654: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.c 1>&5 ltconfig:1657: eval "/usr/bin/nm -B conftest.obj | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" cannot find nm_test_var in conftest.nm ltconfig:1653: checking if global_symbol_pipe works ltconfig:1654: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.c 1>&5 ltconfig:1657: eval "/usr/bin/nm -B conftest.obj | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1709: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest -g conftest.c conftstm.obj 1>&5 configure:3138: checking whether the C++ compiler works configure:3153: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe conftest.cc >&5 configure:3156: $? = 0 configure:3158: test -s conftest.exe configure:3161: $? = 0 configure:3166: ./conftest.exe configure:3169: $? = 0 configure:3184: result: yes configure:3196: checking whether we are cross compiling configure:3198: result: no configure:3201: checking whether we are using the GNU C++ compiler configure:3222: /home/larsa/src/Coin/cfg/m4/msvccc -c conftest.cc >&5 configure(3216) : error C2065: 'choke' : undeclared identifier configure(3216) : error C2146: syntax error : missing ';' before identifier 'me' configure(3216) : error C2065: 'me' : undeclared identifier configure:3225: $? = 2 configure: failed program was: #line 3207 "configure" #include "confdefs.h" int main () { #ifndef __GNUC__ choke me #endif ; return 0; } configure:3237: result: no configure:3243: checking whether /home/larsa/src/Coin/cfg/m4/msvccc accepts -g configure:3261: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure:3264: $? = 0 configure:3274: result: yes configure:3313: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure:3316: $? = 0 configure:3338: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure(3331) : error C2065: 'exit' : undeclared identifier configure:3341: $? = 2 configure: failed program was: #line 3326 "configure" #include "confdefs.h" int main () { exit (42); ; return 0; } configure:3313: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure(3302) : error C2653: 'std' : is not a class or namespace name configure(3302) : error C2653: 'std' : is not a class or namespace name configure(3302) : error C2873: 'exit' : symbol cannot be used in a using-declaration configure:3316: $? = 2 configure: failed program was: #line 3300 "configure" #include "confdefs.h" #include <stdlib.h> extern "C" void std::exit (int) throw (); using std::exit; int main () { exit (42); ; return 0; } configure:3313: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure(3302) : error C2653: 'std' : is not a class or namespace name configure(3302) : error C2653: 'std' : is not a class or namespace name configure(3302) : error C2873: 'exit' : symbol cannot be used in a using-declaration configure:3316: $? = 2 configure: failed program was: #line 3300 "configure" #include "confdefs.h" #include <stdlib.h> extern "C" void std::exit (int); using std::exit; int main () { exit (42); ; return 0; } configure:3313: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure:3316: $? = 0 configure:3338: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure:3341: $? = 0 configure:3365: checking how to run the C++ preprocessor configure:3385: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.cc >/dev/null configure:3391: $? = 0 configure:3410: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.cc >/dev/null configure(3407) : fatal error C1083: Cannot open include file: 'ac_nonexistent.h': No such file or directory configure:3416: $? = 2 configure: failed program was: #line 3406 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:3531: result: /home/larsa/src/Coin/cfg/m4/msvccc -E configure:3547: checking dependency style of /home/larsa/src/Coin/cfg/m4/msvccc configure:3589: result: none configure:3593: checking whether the C++ compiler handles inlined loops configure:3620: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure:3623: $? = 0 configure:3634: result: yes configure:3647: checking for function name variable configure:3669: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure(3662) : error C2065: '__func__' : undeclared identifier configure:3672: $? = 2 configure: failed program was: #line 3657 "configure" #include "confdefs.h" #include <stdio.h> int main () { (void)printf("%s\n",__func__) ; return 0; } configure:3697: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure(3690) : error C2065: '__PRETTY_FUNCTION__' : undeclared identifier configure:3700: $? = 2 configure: failed program was: #line 3685 "configure" #include "confdefs.h" #include <stdio.h> int main () { (void)printf("%s\n",__PRETTY_FUNCTION__) ; return 0; } configure:3725: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure(3718) : error C2065: '__FUNCTION__' : undeclared identifier configure:3728: $? = 2 configure: failed program was: #line 3713 "configure" #include "confdefs.h" #include <stdio.h> int main () { (void)printf("%s\n",__FUNCTION__) ; return 0; } configure:3739: result: none configure:3770: checking for unistd.h configure:3781: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.cc >/dev/null configure(3778) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory configure:3787: $? = 2 configure: failed program was: #line 3777 "configure" #include "confdefs.h" #include <unistd.h> configure:3806: result: no configure:3770: checking for sys/types.h configure:3781: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.cc >/dev/null configure:3787: $? = 0 configure:3806: result: yes configure:3770: checking for sys/param.h configure:3781: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.cc >/dev/null configure(3778) : fatal error C1083: Cannot open include file: 'sys/param.h': No such file or directory configure:3787: $? = 2 configure: failed program was: #line 3777 "configure" #include "confdefs.h" #include <sys/param.h> configure:3806: result: no configure:3770: checking for io.h configure:3781: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.cc >/dev/null configure:3787: $? = 0 configure:3806: result: yes configure:3770: checking for windows.h configure:3781: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.cc >/dev/null configure:3787: $? = 0 configure:3806: result: yes configure:3770: checking for winsock2.h configure:3781: /home/larsa/src/Coin/cfg/m4/msvccc -E conftest.cc >/dev/null configure:3787: $? = 0 configure:3806: result: yes configure:3829: checking netinet/in.h configure:3852: /home/larsa/src/Coin/cfg/m4/msvccc -c -g conftest.cc >&5 configure(3841) : fatal error C1083: Cannot open include file: 'netinet/in.h': No such file or directory configure:3855: $? = 2 configure: failed program was: #line 3836 "configure" #include "confdefs.h" #if HAVE_SYS_TYPES_H #include <sys/types.h> #endif /* HAVE_SYS_TYPES_H */ #include <netinet/in.h> int main () { ; return 0; } configure:3865: result: false configure:3879: checking network byteorder conversion configure:3921: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g conftest.cc >&5 conftest.obj : error LNK2001: unresolved external symbol __imp__ntohs@4 conftest.obj : error LNK2001: unresolved external symbol __imp__ntohl@4 conftest.obj : error LNK2001: unresolved external symbol __imp__htons@4 conftest.obj : error LNK2001: unresolved external symbol __imp__htonl@4 conftest.exe : fatal error LNK1120: 4 unresolved externals configure:3924: $? = 2 configure: failed program was: #line 3890 "configure" #include "confdefs.h" #if HAVE_WINSOCK2_H #include <winsock2.h> /* MSWindows htonl() etc */ #endif /* HAVE_WINSOCK2_H */ #if HAVE_SYS_PARAM_H #include <sys/param.h> /* FreeBSD htonl() etc */ #endif /* HAVE_SYS_PARAM_H */ #if HAVE_SYS_TYPES_H /* According to Coin user Ralf Corsepius, at least SunOS4 needs to include sys/types.h before netinet/in.h. There have also been a problem report for FreeBSD which seems to indicate the same dependency on that platform aswell. */ #include <sys/types.h> #endif /* HAVE_SYS_TYPES_H */ #if HAVE_NETINET_IN_H #include <netinet/in.h> /* Linux htonl() etc */ #endif /* HAVE_NETINET_IN_H */ int main () { (void)htonl(0x42); (void)htons(0x42); (void)ntohl(0x42); (void)ntohs(0x42); ; return 0; } configure:3921: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g conftest.cc -lwsock32 >&5 configure:3924: $? = 0 configure:3926: test -s conftest.exe configure:3929: $? = 0 configure:3941: result: -lwsock32 configure:4692: checking whether snprintf() is available configure:4711: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL conftest.cc -lwsock32 >&5 configure(4704) : error C2065: 'snprintf' : undeclared identifier configure:4714: $? = 2 configure: failed program was: #line 4699 "configure" #include "confdefs.h" #include <stdio.h> int main () { (void)snprintf(0L, 0, 0L); ; return 0; } configure:4729: result: no configure:4734: checking whether vsnprintf() is available configure:4753: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL conftest.cc -lwsock32 >&5 configure(4746) : error C2065: 'vsnprintf' : undeclared identifier configure:4756: $? = 2 configure: failed program was: #line 4741 "configure" #include "confdefs.h" #include <stdio.h> int main () { (void)vsnprintf(0L, 0, 0L, 0L); ; return 0; } configure:4771: result: no configure:4778: checking whether _snprintf() is available configure:4797: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL conftest.cc -lwsock32 >&5 LINK : LNK6004: conftest.exe not found or not built by the last incremental link; performing full link configure:4800: $? = 0 configure:4802: test -s conftest.exe configure:4805: $? = 0 configure:4815: result: yes configure:4822: checking whether _vsnprintf() is available configure:4841: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL conftest.cc -lwsock32 >&5 LINK : LNK6004: conftest.exe not found or not built by the last incremental link; performing full link configure:4844: $? = 0 configure:4846: test -s conftest.exe configure:4849: $? = 0 configure:4859: result: yes configure:4882: checking whether quoting in macros can be done with hash symbol configure:4901: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL conftest.cc -lwsock32 >&5 LINK : LNK6004: conftest.exe not found or not built by the last incremental link; performing full link configure:4904: $? = 0 configure:4905: ./conftest.exe configure:4908: $? = 0 configure:4920: result: yes configure:5027: checking for dlfcn.h configure:5046: /home/larsa/src/Coin/cfg/m4/msvccc -c -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL conftest.cc >&5 configure(5035) : fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory configure:5049: $? = 2 configure: failed program was: #line 5034 "configure" #include "confdefs.h" #include <dlfcn.h> int main () { ; return 0; } configure:5059: result: configure:5072: checking whether the dynamic link loader library is available configure:5095: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL conftest.cc -ldl -lwsock32 >&5 configure(5088) : error C2065: 'dlopen' : undeclared identifier configure:5098: $? = 2 configure: failed program was: #line 5079 "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include <dlfcn.h> #endif /* HAVE_DLFCN_H */ int main () { (void)dlopen(0L, 0); ; return 0; } configure:5113: result: no configure:5191: checking for simage-config configure:5219: result: /cygdrive/d/Packages/Coin3D/bin/simage-config configure:5231: checking whether the simage library is available configure:5256: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lsimage1 -lwsock32 >&5 LINK : LNK6004: conftest.exe not found or not built by the last incremental link; performing full link configure:5259: $? = 0 configure:5261: test -s conftest.exe configure:5264: $? = 0 configure:5278: result: true configure:5319: checking if mathlib linkage is ready configure:5355: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lsimage1 -lwsock32 >&5 LINK : LNK6004: conftest.exe not found or not built by the last incremental link; performing full link configure:5358: $? = 0 configure:5360: test -s conftest.exe configure:5363: $? = 0 configure:5373: result: true configure:5461: checking whether single-precision math functions are available configure:5488: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lsimage1 -lwsock32 >&5 LINK : LNK6004: conftest.exe not found or not built by the last incremental link; performing full link configure:5491: $? = 0 configure:5493: test -s conftest.exe configure:5496: $? = 0 configure:5506: result: true configure:5517: checking for X configure:5619: /home/larsa/src/Coin/cfg/m4/msvccc -E -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include conftest.cc >/dev/null configure(5616) : fatal error C1083: Cannot open include file: 'X11/Intrinsic.h': No such file or directory configure:5625: $? = 2 configure: failed program was: #line 5615 "configure" #include "confdefs.h" #include <X11/Intrinsic.h> configure:5671: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lXt -lsimage1 -lwsock32 >&5 configure(5660) : fatal error C1083: Cannot open include file: 'X11/Intrinsic.h': No such file or directory configure:5674: $? = 2 configure: failed program was: #line 5659 "configure" #include "confdefs.h" #include <X11/Intrinsic.h> int main () { XtMalloc (0) ; return 0; } configure:5717: result: no configure:6760: checking whether OpenGL library is available configure:6791: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lMesaGL -lsimage1 -lwsock32 >&5 LINK : LNK6004: conftest.exe not found or not built by the last incremental link; performing full link LINK : fatal error LNK1104: cannot open file "MesaGL.lib" configure:6794: $? = 2 configure: failed program was: #line 6772 "configure" #include "confdefs.h" #if HAVE_WINDOWS_H #include <windows.h> #endif /* HAVE_WINDOWS_H */ #include <GL/gl.h> int main () { glPointSize(1.0f); ; return 0; } configure:6791: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lGL -lsimage1 -lwsock32 >&5 LINK : fatal error LNK1104: cannot open file "GL.lib" configure:6794: $? = 2 configure: failed program was: #line 6772 "configure" #include "confdefs.h" #if HAVE_WINDOWS_H #include <windows.h> #endif /* HAVE_WINDOWS_H */ #include <GL/gl.h> int main () { glPointSize(1.0f); ; return 0; } configure:6791: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lopengl32 -lsimage1 -lwsock32 >&5 configure:6794: $? = 0 configure:6796: test -s conftest.exe configure:6799: $? = 0 configure:6811: result: -lopengl32 configure:6983: checking whether GLX is available configure:7002: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lopengl32 -lsimage1 -lwsock32 >&5 configure(6991) : fatal error C1083: Cannot open include file: 'GL/glx.h': No such file or directory configure:7005: $? = 2 configure: failed program was: #line 6990 "configure" #include "confdefs.h" #include <GL/glx.h> int main () { (void)glXChooseVisual(0L, 0, 0L); ; return 0; } configure:7020: result: no configure:7155: checking whether GLU is available configure:7189: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lopengl32 -lsimage1 -lwsock32 >&5 LINK : LNK6004: conftest.exe not found or not built by the last incremental link; performing full link conftest.obj : error LNK2001: unresolved external symbol _gluSphere@20 conftest.exe : fatal error LNK1120: 1 unresolved externals configure:7192: $? = 2 configure: failed program was: #line 7169 "configure" #include "confdefs.h" #if HAVE_WINDOWS_H #include <windows.h> #endif /* HAVE_WINDOWS_H */ #include <GL/gl.h> #include <GL/glu.h> int main () { gluSphere(0L, 1.0, 1, 1); ; return 0; } configure:7189: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lMesaGLU -lopengl32 -lsimage1 -lwsock32 >&5 LINK : fatal error LNK1104: cannot open file "MesaGLU.lib" configure:7192: $? = 2 configure: failed program was: #line 7169 "configure" #include "confdefs.h" #if HAVE_WINDOWS_H #include <windows.h> #endif /* HAVE_WINDOWS_H */ #include <GL/gl.h> #include <GL/glu.h> int main () { gluSphere(0L, 1.0, 1, 1); ; return 0; } configure:7189: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lGLU -lopengl32 -lsimage1 -lwsock32 >&5 LINK : fatal error LNK1104: cannot open file "GLU.lib" configure:7192: $? = 2 configure: failed program was: #line 7169 "configure" #include "confdefs.h" #if HAVE_WINDOWS_H #include <windows.h> #endif /* HAVE_WINDOWS_H */ #include <GL/gl.h> #include <GL/glu.h> int main () { gluSphere(0L, 1.0, 1, 1); ; return 0; } configure:7189: /home/larsa/src/Coin/cfg/m4/msvccc -o conftest.exe -g -DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/cygdrive/d/Packages/Coin3D/include -L/cygdrive/d/Packages/Coin3D/lib conftest.cc -lglu32 -lopengl32 -lsimage1 -lwsock32 >&5 configure:7192: $? = 0 configure:7194: test -s conftest.exe configure:7197: $? = 0 configure:7209: result: -lglu32 ## ----------------- ## ## Cache variables. ## ## ----------------- ## am_cv_CC_dependencies_compiler_type='none' ac_cv_prog_CXXCPP='/home/larsa/src/Coin/cfg/m4/msvccc -E' ac_cv_env_CXXFLAGS_value='' sim_cv_mathlib_ready='true' sim_cv_simage_avail='true' sim_cv_func_snprintf='no' ac_cv_prog_cc_g='yes' ac_cv_env_LDFLAGS_set='' sim_cv_func_vsnprintf='no' ac_cv_header_io_h='yes' ac_cv_exeext='.exe' ac_cv_c_compiler_gnu='no' ac_cv_path_install='/usr/bin/install -c' ac_cv_env_CFLAGS_set='' ac_cv_prog_gnu_ld='yes' ac_cv_env_CPPFLAGS_set='' ac_cv_cxx_compiler_gnu='no' ac_cv_env_CXX_set='' ac_cv_env_host_alias_set='' ac_cv_path_LD='/bin/ld' ac_cv_env_build_alias_set='' ac_cv_prog_LN_S='ln -s' ac_cv_env_LDFLAGS_value='' ac_cv_env_target_alias_set='' ac_cv_host_alias='i686-pc-cygwin' ac_cv_env_CFLAGS_value='' ac_cv_env_CC_set='' ac_cv_have_x='have_x=no' ac_cv_header_winsock2_h='yes' ac_cv_header_sys_types_h='yes' sim_cv_quote_hash='yes' sim_cv_func__snprintf='yes' sim_cv_netinet_in_h='false' sim_cv_func__vsnprintf='yes' ac_cv_header_windows_h='yes' ac_cv_prog_make_make_set='yes' ac_cv_header_sys_param_h='no' ac_cv_header_unistd_h='no' ac_cv_build_alias='i686-pc-cygwin' ac_cv_env_CPPFLAGS_value='' ac_cv_path_sim_ac_simage_configcmd='/cygdrive/d/Packages/Coin3D/bin/simage-config' ac_cv_path_NM='/usr/bin/nm -B' ac_cv_prog_ac_ct_RANLIB='true' ac_cv_target_alias='i686-pc-cygwin' ac_cv_env_CXXFLAGS_set='' ac_cv_env_CXX_value='' sim_cv_lib_dl_avail='no' ac_cv_host='i686-pc-cygwin' ac_cv_env_host_alias_value='' sim_cv_func_singleprec_avail='true' ac_cv_prog_cxx_g='yes' sim_cv_c_inlinefor='yes' am_cv_CXX_dependencies_compiler_type='none' ac_cv_prog_CPP='/home/larsa/src/Coin/cfg/m4/msvccc -E' ac_cv_prog_AWK='gawk' ac_cv_build='i686-pc-cygwin' ac_cv_env_build_alias_value='' ac_cv_prog_ac_ct_CC='/home/larsa/src/Coin/cfg/m4/msvccc' sim_cv_func_glx_avail='no' ac_cv_target='i686-pc-cygwin' ac_cv_env_target_alias_value='' sim_cv_lib_glu='-lglu32' sim_cv_lib_gl='-lopengl32' ac_cv_env_CC_value='' sim_cv_byteorder_conversion_libs='-lwsock32' sim_cv_var_functionname='none' ac_cv_objext='obj' ## ------------ ## ## confdefs.h. ## ## ------------ ## #define COIN_MAJOR_VERSION 0 #define COIN_MINOR_VERSION 9 #define COIN_MICRO_VERSION 99 #define COIN_VERSION "0.9.99" #define PACKAGE "libCoin" #define VERSION "0.9.99" #ifdef __cplusplus extern "C" void exit (int) throw (); #endif #define HAVE_SYS_TYPES_H 1 #define HAVE_IO_H 1 #define HAVE_WINDOWS_H 1 #define HAVE_WINSOCK2_H 1 #define HAVE__SNPRINTF 1 #define HAVE__VSNPRINTF 1 #define HAVE_HASH_QUOTING 1 #define HAVE_LIBSIMAGE 1 #define HAVE_SINGLEPRECISION_MATH 1 #define X_DISPLAY_MISSING 1 #define HAVE_OPENGL 1 #define HAVE_GLU 1 configure:7581: creating ./config.status ## ----------------------- ## ## Running config.status. ## ## ----------------------- ## This file was extended by config.status 2.49c, executed with > ./config.status on FREYA config.status:8114: creating coin-config config.status:8114: creating Makefile config.status:8114: creating include/Makefile config.status:8114: creating include/Inventor/Makefile config.status:8114: creating include/Inventor/lock/Makefile config.status:8114: creating data/Makefile config.status:8114: creating data/draggerDefaults/Makefile config.status:8114: creating src/Makefile config.status:8114: creating src/base/Makefile config.status:8114: creating src/VRMLnodes/Makefile config.status:8114: creating src/actions/Makefile config.status:8114: creating src/bundles/Makefile config.status:8114: creating src/caches/Makefile config.status:8114: creating src/details/Makefile config.status:8114: creating src/draggers/Makefile config.status:8114: creating src/elements/Makefile config.status:8114: creating src/engines/Makefile config.status:8114: creating src/errors/Makefile config.status:8114: creating src/events/Makefile config.status:8114: creating src/fields/Makefile config.status:8114: creating src/manips/Makefile config.status:8114: creating src/misc/Makefile config.status:8114: creating src/lists/Makefile config.status:8114: creating src/nodekits/Makefile config.status:8114: creating src/nodes/Makefile config.status:8114: creating src/projectors/Makefile config.status:8114: creating src/sensors/Makefile config.status:8114: creating src/system/Makefile config.status:8114: creating build/Makefile config.status:8114: creating build/coin.spec config.status:8114: creating build/coin.nsi config.status:8114: creating docs/coin.doxygen config.status:8206: creating config.h config.status:8206: creating include/Inventor/SbBasic.h configure: exit 0