> Later today, I may try revision 8865 which
> was current when I first saw your post.

I won't try revision 8865, since the changelog doesn't appear relevant.
So I switched back to the sources from agar-1.4.0.zip.
Following your suggestion, I tried to configure demos/table/
with the appended result in "config.log":
Obviously agTimeOps_gettimeofday is missing. (?)

(I wrapped some of the following lines in order to be able to post it.)

-----

Machine: i686
Release: 1.0.11(0.46/3/2)
System: MINGW32_NT-5.1
checking for a usable C compiler...Detected executable suffix: .exe
checking for compiler warning options.../mingw/bin/gcc   -Wall -Werror
 -o ./conftest conftest.c 
yes
checking for gcc.../mingw/bin/gcc  -Wall -Werror  -o ./conftest conftest.c 
yes
checking for IEEE754 floating point.../mingw/bin/gcc  -Wall -Werror
 -o ./conftest conftest.c 
yes
checking aligned attribute.../mingw/bin/gcc  -Wall -Werror -Wall -Werror
 -o ./conftest conftest.c
yes
checking bounded attribute.../mingw/bin/gcc  -Wall -Werror  -o ./conftest
conftest.c 
conftest.c:1: warning: `__bounded__' attribute directive ignored
-> failed (0)
no
checking const attribute.../mingw/bin/gcc  -Wall -Werror
 -o ./conftest conftest.c
yes
checking deprecated attribute.../mingw/bin/gcc  -Wall -Werror
 -o ./conftest conftest.c
yes
checking format attribute.../mingw/bin/gcc  -Wall -Werror
 -o ./conftest conftest.c 
yes
checking nonnull attribute.../mingw/bin/gcc  -Wall -Werror -Wall -Werror
 -o ./conftest conftest.c
yes
checking noreturn attribute.../mingw/bin/gcc  -Wall -Werror
 -o ./conftest conftest.c
yes
checking packed attribute.../mingw/bin/gcc  -Wall -Werror -Wall -Werror
 -o ./conftest conftest.c
yes
checking pure attribute.../mingw/bin/gcc  -Wall -Werror
 -o ./conftest conftest.c
yes
checking warn_unused_result attribute.../mingw/bin/gcc  -Wall -Werror
 -o ./conftest conftest.c
yes
checking for long double.../mingw/bin/gcc  -Wall -Werror
 -o ./conftest conftest.c
yes
checking for long long.../mingw/bin/gcc  -Wall -Werror
 -o ./conftest conftest.c
yes
checking for cygwin environment.../mingw/bin/gcc  -Wall -Werror -mcygwin
 -o ./conftest conftest.c
yes
checking for POSIX threads.../mingw/bin/gcc  -mno-cygwin -Wall -Werror
 -o ./conftest conftest.c -lpthread
conftest.c:1:21: pthread.h: No such file or directory
conftest.c: In function `start_routine':
conftest.c:6: error: `NULL' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
conftest.c: In function `main':
conftest.c:10: error: `pthread_mutex_t' undeclared (first use in this
 function)
conftest.c:10: error: syntax error before "mutex"
conftest.c:11: error: `pthread_t' undeclared (first use in this function)
conftest.c:12: warning: implicit declaration of function
 `pthread_mutex_init'
conftest.c:12: error: `mutex' undeclared (first use in this function)
conftest.c:12: error: `NULL' undeclared (first use in this function)
conftest.c:13: warning: implicit declaration of function
 `pthread_mutex_lock'
conftest.c:14: warning: implicit declaration of function
 `pthread_mutex_unlock'
conftest.c:15: warning: implicit declaration of function
 `pthread_mutex_destroy'
conftest.c:16: warning: implicit declaration of function `pthread_create'
conftest.c:16: error: `thread' undeclared (first use in this function)
-> failed (0)
no
checking for -pthread.../mingw/bin/gcc  -mno-cygwin -Wall -Werror  -o
 ./conftest
conftest.c -pthread
conftest.c:1:21: pthread.h: No such file or directory
conftest.c: In function `start_routine':
conftest.c:6: error: `NULL' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
conftest.c: In function `main':
conftest.c:10: error: `pthread_mutex_t' undeclared (first use in this
 function)
conftest.c:10: error: syntax error before "mutex"
conftest.c:11: error: `pthread_t' undeclared (first use in this function)
conftest.c:12: warning: implicit declaration of function
 `pthread_mutex_init'
conftest.c:12: error: `mutex' undeclared (first use in this function)
conftest.c:12: error: `NULL' undeclared (first use in this function)
conftest.c:13: warning: implicit declaration of function
 `pthread_mutex_lock'
conftest.c:14: warning: implicit declaration of function
 `pthread_mutex_unlock'
conftest.c:15: warning: implicit declaration of function
 `pthread_mutex_destroy'
conftest.c:16: warning: implicit declaration of function `pthread_create'
conftest.c:16: error: `thread' undeclared (first use in this function)
gcc.exe: unrecognized option `-pthread'
-> failed (0)
no
checking for -pthread (common paths).../mingw/bin/gcc  -mno-cygwin -Wall
 -Werror -I/usr/local/include -o ./conftest conftest.c -L/usr/local/lib
 -lpthreadGCE2
yes
checking for the X/Open Threads Extension.../mingw/bin/gcc  -mno-cygwin
 -I/usr/local/include -Wall -Werror -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600
 -o ./conftest conftest.c -lpthread
c:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
 cannot find -lpthread
collect2: ld returned 1 exit status
-> failed (0)
no
checking for the X/Open Threads Extension (common paths).../mingw/bin/gcc
 -mno-cygwin -I/usr/local/include -Wall -Werror -U_XOPEN_SOURCE
 -D_XOPEN_SOURCE=600 -o ./conftest conftest.c -L/usr/local/lib -lpthreadGCE2
yes
checking for PTHREAD_MUTEX_RECURSIVE.../mingw/bin/gcc  -mno-cygwin
 -I/usr/local/include -Wall -Werror -I/usr/local/include
 -o ./conftest conftest.c -L/usr/local/lib -lpthreadGCE2
yes
checking for PTHREAD_MUTEX_RECURSIVE_NP.../mingw/bin/gcc  -mno-cygwin
 -I/usr/local/include -Wall -Werror -I/usr/local/include
 -o ./conftest conftest.c -L/usr/local/lib -lpthreadGCE2
yes
checking for SDL (http://www.libsdl.org)...yes
checking whether SDL works.../mingw/bin/gcc  -mno-cygwin
 -I/usr/local/include -Wall -Werror -I/usr/local/include/SDL
 -D_GNU_SOURCE=1 -Dmain=SDL_main -o./conftest conftest.c
 -L/usr/local/lib -lmingw32 -lSDLmain -lSDL -mwindows
yes
checking for OpenGL (http://www.opengl.org)...yes
checking whether -lopengl32 works.../mingw/bin/gcc  -mno-cygwin
 -I/usr/local/include -Wall -Werror  -o ./conftest conftest.c -lopengl32
yes
checking whether OpenGL works.../mingw/bin/gcc  -mno-cygwin
 -I/usr/local/include -Wall -Werror  -o ./conftest conftest.c
 -L/usr/local/lib -lopengl32
yes
checking for FreeType (http://www.freetype.org)...yes
checking whether FreeType works.../mingw/bin/gcc  -mno-cygwin
 -I/usr/local/include -Wall -Werror -I/usr/local/include/freetype2
 -I/usr/local/include -o ./conftest conftest.c -L/usr/local/lib -lfreetype
yes
checking for Agar (http://libagar.org/)...yes
checking whether Agar works.../mingw/bin/gcc  -mno-cygwin
 -I/usr/local/include
-Wall -Werror -I/usr/local/include/agar -I/usr/local/include/SDL
 -D_GNU_SOURCE=1 -Dmain=SDL_main -I/usr/local/include/freetype2
 -I/usr/local/include -I/usr/local/include -o ./conftest conftest.c
 -L/usr/local/lib -lag_gui -lag_core -L/usr/local/lib -lmingw32
 -lSDLmain -lSDL -mwindows -L/usr/local/lib -lfreetype  -L/usr/local/lib
 -lopengl32 -lm -L/usr/local/lib -lpthreadGCE2
C:/msys/1.0/local/lib/libag_core.a(core.o):core.c:(.text+0xb6):
 undefined reference to `agTimeOps_gettimeofday'
collect2: ld returned 1 exit status
-> failed (0)
no


_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to