Closed WallyZambotti closed 4 years ago
It turns out the order of the libraries when linking is important with gcc in mingw64 msys.
I fixed the issued by replacing all lines (like the following) in all makefiles:
LIBS= ${ENABLE_GUI_LIBS} ${GUI_LIBS} \
for this instead:
LIBS= ${ENABLE_GUI_LIBS} -L../core -lag_core \ ${GUI_LIBS} ${CORE_LIBS}
And the make depend all completed without error.
Core and GUI appear to build fine but then everything else that attempts to link to them cannot find any references.
I have included the configuration output and the core library build from the make depend all. Also included is the library build output for math showing the undefined references.
The use of libtool to process the library does not appear to be happening as it did on 1.5.0. Not sure if this is intended or not?
$ export MINGWROOT=/mingw64 $ export CFLAGS=-O2 $ ./configure --host=x86_64-w64-mingw32 --prefix=$MINGWROOT --with-{freetype,png,jpeg,gl}=$MINGWROOT --without-{fontconfig,gettext,iconv} BSDBuild 3.2 https://bsdbuild.hypertriton.com/
/ \ / \ / \ | \ | || | | (| | | || | | |) | || || _, | || || || |_| |___/ v1.6.1 for x86_64 (LARGE)
checking for a C compiler...yes, /mingw64/bin/x86_64-w64-mingw32-gcc checking whether the C compiler works...yes, it outputs .exe files cc: checking whether compiler is Clang...no cc: checking whether compiler is GCC...yes cc: checking for compiler warning options...yes cc: checking for float and double...yes cc: checking for long double...yes cc: checking for long long...yes cc: checking for linker -no-undefined option...no cc: checking for linker -static-libgcc option...no cc: checking for cygwin environment...no checking for Objective-C compiler...yes, /mingw64/bin/x86_64-w64-mingw32-gcc checking whether the Objective-C compiler works...yes objc: checking for compiler warning options...yes *
checking for byte order...LE (given) checking for byte order...little-endian checking for C compiler attributes...aligned bounded const deprecated format checking for C compiler attributes...malloc noreturn packed pure unused checking for C compiler attributes...warn_unused_result checking for <sys/types.h>...no checking for...yes
checking for int64_t type...no
checking for __int64 type...yes
checking for <sys/stat.h>...no
checking for ...yes
checking for ...yes
checking for compatible ...yes
checking for ...yes
checking for the C math library...yes
checking for the C math library (C99)...yes
checking for a fdclose() function...no
checking for getpwuid()...no
checking for the getpwnam_r() interface...no
checking for getenv()...yes
checking for getuid()...no
checking for strsep()...no
checking for asprintf()...yes
checking for snprintf()...yes
checking for vsnprintf()...yes
checking for vasprintf()...yes
checking for ANSI-style signal() facilities...yes
checking for strtoll()...yes
checking for strtold()...yes
checking for dlopen() interface...no
checking for dlopen() in -ldl...no
checking for dyld interface...no
checking for the shl_load() interface...no
checking for gettimeofday()...yes
checking for the select() interface...no
checking for glob()...no
checking for the getopt() function...yes
checking for the execvp() function...yes
checking for clock_gettime() interface (w/o -lrt)...yes
checking for winmm time interface...yes
checking for nanosleep()...yes
checking for the kqueue() mechanism...no
checking for the Linux timerfd interface...no
checking for Windows CSIDL...yes
checking for the Xbox XDK...no
checking for SDL 1.2...no
checking for OpenGL...yes
checking whether -lopengl32 works...yes
checking whether OpenGL works...yes
checking whether OpenGL has glext...no
checking for the X window system...no
checking for the Xinerama extension...no
checking for the Cocoa framework...no
checking for the GLX interface...no
checking for the WGL interface...yes
checking for FreeType...yes (22.1.16 in /mingw64)
checking whether FreeType works...yes
checking for libjpeg...yes
checking whether libjpeg works...yes
checking for libpng...yes (1.6.36 in /mingw64)
checking whether libpng works...yes
checking for getaddrinfo()...no
checking for the SIOCGIFCONF interface...no
checking for setsockopt()...no
checking for WinSock...not checking
checking for POSIX threads...yes
checking for the X/Open Threads Extension...yes
checking for PTHREAD_MUTEX_RECURSIVE...yes
checking for PTHREAD_MUTEX_RECURSIVE_NP...yes
checking whether pthread_mutex_t is a pointer...yes
checking whether pthread_cond_t is a pointer...yes
checking whether pthread_t is a pointer...yes
checking for AltiVec (with )...no
checking for AltiVec (without )...no
checking for SSE extensions...yes
checking for SSE2 extensions...yes
checking for SSE3 extensions...yes
checking for GLU...yes
preprocessing header files...done
Configuration successful!
Use "make depend all" to compile. When finished,
run "make install" to install under /mingw64.
$ make depend all . . . ==> core make[1]: Entering directory '/c/Users/HP/Documents/Projects/libagar/core' make byteswap.o class.o config.o core.o cpuinfo.o data_source.o db.o dir.o dso.o error.o event.o exec.o file.o getopt.o load_integral.o load_real.o load_string.o load_version.o object.o string.o tbl.o text.o time.o time_dummy.o timeout.o threads.o vasprintf.o vsnprintf.o user.o user_dummy.o user_getenv.o variable.o vec.o time_win32.o time_posix.o time_renderer.o user_win32.o
make[2]: Entering directory '/c/Users/HP/Documents/Projects/libagar/core' /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o byteswap.o -c byteswap.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o class.o -c class.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o config.o -c config.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o core.o -c core.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o cpuinfo.o -c cpuinfo.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o data_source.o -c data_source.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o db.o -c db.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o dir.o -c dir.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o dso.o -c dso.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o error.o -c error.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o event.o -c event.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o exec.o -c exec.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o file.o -c file.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o getopt.o -c getopt.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o load_integral.o -c load_integral.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o load_real.o -c load_real.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o load_string.o -c load_string.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o load_version.o -c load_version.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o object.o -c object.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o string.o -c string.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o tbl.o -c tbl.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o text.o -c text.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o time.o -c time.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o time_dummy.o -c time_dummy.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o timeout.o -c timeout.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o threads.o -c threads.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o vasprintf.o -c vasprintf.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o vsnprintf.o -c vsnprintf.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o user.o -c user.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o user_dummy.o -c user_dummy.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o user_getenv.o -c user_getenv.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o variable.o -c variable.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o vec.o -c vec.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o time_win32.o -c time_win32.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o time_posix.o -c time_posix.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o time_renderer.o -c time_renderer.c /mingw64/bin/x86_64-w64-mingw32-gcc -O2 -D_AGAR_INTERNAL -D_DEFAULT_SOURCE -D_BSD_SOURCE -I/c/Users/HP/Documents/Projects/libagar/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=600 -D_AGAR_CORE_INTERNAL -o user_win32.o -c user_win32.c make[2]: Leaving directory '/c/Users/HP/Documents/Projects/libagar/core' ar -cru libag_core.a byteswap.o class.o config.o core.o cpuinfo.o data_source.o db.o dir.o dso.o error.o event.o exec.o file.o getopt.o load_integral.o load_real.o load_string.o load_version.o object.o string.o tbl.o text.o time.o time_dummy.o timeout.o threads.o vasprintf.o vsnprintf.o user.o user_dummy.o user_getenv.o variable.o vec.o time_win32.o time_posix.o time_renderer.o user_win32.o ranlib libag_core.a /mingw64/bin/x86_64-w64-mingw32-gcc -shared -o ag_core.dll -Wl,--out-implib,libag_core_dll.lib -Wl,-rpath /mingw64/lib byteswap.o class.o config.o core.o cpuinfo.o data_source.o db.o dir.o dso.o error.o event.o exec.o file.o getopt.o load_integral.o load_real.o load_string.o load_version.o object.o string.o tbl.o text.o time.o time_dummy.o timeout.o threads.o vasprintf.o vsnprintf.o user.o user_dummy.o user_getenv.o variable.o vec.o time_win32.o time_posix.o time_renderer.o user_win32.o -lpthread
-lwinmm make[1]: Leaving directory '/c/Users/HP/Documents/Projects/libagar/core' . . . make[2]: Leaving directory '/c/Users/HP/Documents/Projects/libagar/math' ar -cru libag_math.a m_math.o m_complex.o m_quaternion.o m_vector.o m_vectorz.o m_vector_fpu.o m_vector2_fpu.o m_vector3_fpu.o m_vector4_fpu.o m_vector3_sse.o m_matrix.o m_matrix_fpu.o m_matrix44_fpu.o m_matrix44_sse.o m_gui.o m_plotter.o m_matview.o m_line.o m_circle.o m_triangle.o m_rectangle.o m_polygon.o m_plane.o m_coordinates.o m_heapsort.o m_mergesort.o m_qsort.o m_radixsort.o m_point_set.o m_color.o m_sphere.o m_polyhedron.o m_matrix_sparse.o m_sparse_allocate.o m_sparse_build.o m_sparse_eda.o m_sparse_factor.o m_sparse_output.o m_sparse_solve.o m_sparse_utils.o m_bezier.o m_bezier_primitives.o ranlib libag_math.a /mingw64/bin/x86_64-w64-mingw32-gcc -shared -o ag_math.dll -Wl,--out-implib,libag_math_dll.lib -Wl,-rpath /mingw64/lib m_math.o m_complex.o m_quaternion.o m_vector.o m_vectorz.o m_vector_fpu.o m_vector2_fpu.o m_vector3_fpu.o m_vector4_fpu.o m_vector3_sse.o m_matrix.o m_matrix_fpu.o m_matrix44_fpu.o m_matrix44_sse.o m_gui.o m_plotter.o m_matview.o m_line.o m_circle.o m_triangle.o m_rectangle.o m_polygon.o m_plane.o m_coordinates.o m_heapsort.o m_mergesort.o m_qsort.o m_radixsort.o m_point_set.o m_color.o m_sphere.o m_polyhedron.o m_matrix_sparse.o m_sparse_allocate.o m_sparse_build.o m_sparse_eda.o m_sparse_factor.o m_sparse_output.o m_sparse_solve.o m_sparse_utils.o m_bezier.o m_bezier_primitives.o -L../gui -lag_gui -LC:/msys64/mingw64/lib -lfreetype -L/mingw64/lib -lopengl32 -lgdi32 -L/mingw64/lib -ljpeg -L/mingw64/lib -lpng16 -lm -L../core -lag_core -lpthread -lwinmm m_math.o:m_math.c:(.text+0x819): undefined reference to
ag_read_uint8' m_math.o:m_math.c:(.text+0x836): undefined reference to
ag_read_float' m_math.o:m_math.c:(.text+0x86d): undefined reference toag_read_uint8' m_math.o:m_math.c:(.text+0x87d): undefined reference to
ag_read_double' m_math.o:m_math.c:(.text+0x894): undefined reference toag_read_float' m_math.o:m_math.c:(.text+0x8d7): undefined reference to
ag_write_uint8' m_math.o:m_math.c:(.text+0x98c): undefined reference toag_write_uint8' m_math.o:m_math.c:(.text+0x998): undefined reference to
ag_write_double' m_math.o:m_math.c:(.text+0x9b0): undefined reference toag_write_uint8' m_math.o:m_math.c:(.text+0xa8c): undefined reference to
ag_write_uint8' m_math.o:m_math.c:(.text+0xa98): undefined reference toag_write_double' m_math.o:m_math.c:(.text+0xaaa): undefined reference to
ag_write_uint8' m_math.o:m_math.c:(.text+0xab6): undefined reference toag_write_double' m_math.o:m_math.c:(.text+0xac8): undefined reference to
ag_write_uint8' m_math.o:m_math.c:(.text+0xbac): undefined reference toag_write_uint8' m_math.o:m_math.c:(.text+0xbb8): undefined reference to
ag_write_double' m_math.o:m_math.c:(.text+0xbca): undefined reference toag_write_uint8' m_math.o:m_math.c:(.text+0xbd6): undefined reference to
ag_write_double' m_math.o:m_math.c:(.text+0xbe8): undefined reference toag_write_uint8' m_math.o:m_math.c:(.text+0x82e): undefined reference to
ag_read_double' m_math.o:m_math.c:(.text+0x8ed): undefined reference toag_write_double' m_math.o:m_math.c:(.text+0x9c7): undefined reference to
ag_write_double' m_math.o:m_math.c:(.text+0xadf): undefined reference toag_write_double' m_math.o:m_math.c:(.text+0xbff): undefined reference to
ag_write_double' m_vector.o:m_vector.c:(.text+0x14d): undefined reference toag_read_uint8' m_vector.o:m_vector.c:(.text+0x178): undefined reference to
ag_read_float' m_vector.o:m_vector.c:(.text+0x188): undefined reference toag_read_float' m_vector.o:m_vector.c:(.text+0x1a4): undefined reference to
ag_read_double' m_vector.o:m_vector.c:(.text+0x1b0): undefined reference toag_read_double' m_vector.o:m_vector.c:(.text+0x1dd): undefined reference to
ag_read_uint8' m_vector.o:m_vector.c:(.text+0x208): undefined reference toag_read_float' m_vector.o:m_vector.c:(.text+0x214): undefined reference to
ag_read_float' m_vector.o:m_vector.c:(.text+0x221): undefined reference toag_read_float' m_vector.o:m_vector.c:(.text+0x237): undefined reference to
ag_read_double' m_vector.o:m_vector.c:(.text+0x24b): undefined reference toag_read_double' m_vector.o:m_vector.c:(.text+0x260): undefined reference to
ag_read_double' m_vector.o:m_vector.c:(.text+0x28d): undefined reference toag_read_uint8' m_vector.o:m_vector.c:(.text+0x2b8): undefined reference to
ag_read_float' m_vector.o:m_vector.c:(.text+0x2c4): undefined reference toag_read_float' m_vector.o:m_vector.c:(.text+0x2d1): undefined reference to
ag_read_float' m_vector.o:m_vector.c:(.text+0x2de): undefined reference toag_read_float' m_vector.o:m_vector.c:(.text+0x2f4): undefined reference to
ag_read_double' m_vector.o:m_vector.c:(.text+0x308): undefined reference toag_read_double' m_vector.o:m_vector.c:(.text+0x31d): undefined reference to
ag_read_double' m_vector.o:m_vector.c:(.text+0x332): undefined reference toag_read_double' m_vector.o:m_vector.c:(.text+0x422): undefined reference to
ag_write_uint8' m_vector.o:m_vector.c:(.text+0x42e): undefined reference toag_write_double' m_vector.o:m_vector.c:(.text+0x462): undefined reference to
ag_write_uint8' m_vector.o:m_vector.c:(.text+0x46e): undefined reference toag_write_float' m_vector.o:m_vector.c:(.text+0x47b): undefined reference to
ag_write_float' m_vector.o:m_vector.c:(.text+0x4b2): undefined reference toag_write_uint8' m_vector.o:m_vector.c:(.text+0x4be): undefined reference to
ag_write_float' m_vector.o:m_vector.c:(.text+0x4cb): undefined reference toag_write_float' m_vector.o:m_vector.c:(.text+0x4d8): undefined reference to
ag_write_float' m_vector.o:m_vector.c:(.text+0x4fe): undefined reference toag_malloc' m_vector.o:m_vector.c:(.text+0x52e): undefined reference to
ag_malloc' m_vector.o:m_vector.c:(.text+0x55e): undefined reference toag_malloc' m_vector.o:m_vector.c:(.text+0x441): undefined reference to
ag_write_double' m_vector.o:m_vector.c:(.text+0x48e): undefined reference toag_write_float' m_vector.o:m_vector.c:(.text+0x4eb): undefined reference to
ag_write_float' m_vectorz.o:m_vectorz.c:(.text+0x5e): undefined reference toag_malloc' m_vectorz.o:m_vectorz.c:(.text+0x6c): undefined reference to
ag_malloc' m_vectorz.o:m_vectorz.c:(.text+0xfd): undefined reference toag_free' m_vectorz.o:m_vectorz.c:(.text+0x207): undefined reference to
ag_realloc' m_vectorz.o:m_vectorz.c:(.text+0x10a): undefined reference toag_free' m_vector_fpu.o:m_vector_fpu.c:(.text+0x2dd): undefined reference to
ag_free' m_vector_fpu.o:m_vector_fpu.c:(.text+0x30a): undefined reference toag_try_realloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x323): undefined reference to
ag_free' m_vector_fpu.o:m_vector_fpu.c:(.text+0x34e): undefined reference toag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x377): undefined reference to
ag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x39e): undefined reference toag_read_uint32' m_vector_fpu.o:m_vector_fpu.c:(.text+0x410): undefined reference to
ag_write_uint32' m_vector_fpu.o:m_vector_fpu.c:(.text+0x462): undefined reference toag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x4c7): undefined reference to
ag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x4eb): undefined reference toag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x547): undefined reference to
ag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x566): undefined reference toag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x5c7): more undefined references to
ag_malloc' follow m_vector_fpu.o:m_vector_fpu.c:(.text+0x8c4): undefined reference toag_free' m_vector_fpu.o:m_vector_fpu.c:(.text+0x8cc): undefined reference to
ag_free' m_vector_fpu.o:m_vector_fpu.c:(.text+0x8e9): undefined reference toag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x940): undefined reference to
ag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x9a7): undefined reference toag_malloc' m_vector_fpu.o:m_vector_fpu.c:(.text+0x2ea): undefined reference to
ag_free' m_matrix.o:m_matrix.c:(.text+0x16e): undefined reference toag_write_uint8' m_matrix.o:m_matrix.c:(.text+0x17b): undefined reference to
ag_write_float' m_matrix_fpu.o:m_matrix_fpu.c:(.text+0x657): undefined reference to `ag_write_uint32' . . .