Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compiling error
03-22-2014, 05:54 AM,
#1
compiling error
I retried to compile ACR with Msys today. It ended with an error I don't understand.

Here is the output :
Code:
[email protected] /sourcescube/acr_02_05_09-src/src
$ make
make -C ../enet all
make[1]: Entering directory `/sourcescube/acr_02_05_09-src/enet'
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --enable-shared=no --enable-sta
tic=yes --no-create --no-recursion
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... d:/logiciels/instales/developpement/codeblocks/mi
ngw/mingw32/bin/ld.exe
checking if the linker (d:/logiciels/instales/developpement/codeblocks/mingw/min
gw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /d/logiciels/instales/dev
eloppement/CodeBlocks/MinGW/bin/nm
checking the name lister (/d/logiciels/instales/developpement/CodeBlocks/MinGW/b
in/nm) interface... BSD nm
checking whether ln -s works... no, using cp -p
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for d:/logiciels/instales/developpement/codeblocks/mingw/mingw32/bin/ld
.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|
^x86 DLL
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /d/logiciels/instales/developpement/CodeBlocks/MinGW/b
in/nm output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (d:/logiciels/instales/developpement/codeblocks/
mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gethostbyaddr_r... no
checking for gethostbyname_r... no
checking for poll... no
checking for fcntl... no
checking for inet_pton... no
checking for inet_ntop... no
checking for struct msghdr.msg_flags... no
checking for socklen_t... no
configure: creating ./config.status
/bin/sh ./config.status
config.status: creating Makefile
config.status: creating libenet.pc
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory `/sourcescube/acr_02_05_09-src/enet'
make[1]: Entering directory `/sourcescube/acr_02_05_09-src/enet'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libenet\" -DPAC
KAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.3\" -DPACKAGE_STRING=\"libenet\
1.3.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVER
SION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE
S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude
  -g -O2 -MT callbacks.lo -MD -MP -MF .deps/callbacks.Tpo -c -o callbacks.lo cal
lbacks.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\"
-DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"libenet 1.3.3\"" -DPACKAGE_BUGRE
PORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.3\" -DSTDC_HE
ADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING
_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude -g -O2 -MT callbacks.lo -
MD -MP -MF .deps/callbacks.Tpo -c callbacks.c -o callbacks.o
mv -f .deps/callbacks.Tpo .deps/callbacks.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libenet\" -DPAC
KAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.3\" -DPACKAGE_STRING=\"libenet\
1.3.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVER
SION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE
S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude
  -g -O2 -MT compress.lo -MD -MP -MF .deps/compress.Tpo -c -o compress.lo compre
ss.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\"
-DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"libenet 1.3.3\"" -DPACKAGE_BUGRE
PORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.3\" -DSTDC_HE
ADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING
_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude -g -O2 -MT compress.lo -M
D -MP -MF .deps/compress.Tpo -c compress.c -o compress.o
mv -f .deps/compress.Tpo .deps/compress.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libenet\" -DPAC
KAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.3\" -DPACKAGE_STRING=\"libenet\
1.3.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVER
SION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE
S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude
  -g -O2 -MT host.lo -MD -MP -MF .deps/host.Tpo -c -o host.lo host.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\"
-DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"libenet 1.3.3\"" -DPACKAGE_BUGRE
PORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.3\" -DSTDC_HE
ADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING
_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude -g -O2 -MT host.lo -MD -M
P -MF .deps/host.Tpo -c host.c -o host.o
mv -f .deps/host.Tpo .deps/host.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libenet\" -DPAC
KAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.3\" -DPACKAGE_STRING=\"libenet\
1.3.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVER
SION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE
S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude
  -g -O2 -MT list.lo -MD -MP -MF .deps/list.Tpo -c -o list.lo list.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\"
-DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"libenet 1.3.3\"" -DPACKAGE_BUGRE
PORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.3\" -DSTDC_HE
ADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING
_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude -g -O2 -MT list.lo -MD -M
P -MF .deps/list.Tpo -c list.c -o list.o
mv -f .deps/list.Tpo .deps/list.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libenet\" -DPAC
KAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.3\" -DPACKAGE_STRING=\"libenet\
1.3.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVER
SION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE
S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude
  -g -O2 -MT packet.lo -MD -MP -MF .deps/packet.Tpo -c -o packet.lo packet.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\"
-DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"libenet 1.3.3\"" -DPACKAGE_BUGRE
PORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.3\" -DSTDC_HE
ADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING
_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude -g -O2 -MT packet.lo -MD
-MP -MF .deps/packet.Tpo -c packet.c -o packet.o
mv -f .deps/packet.Tpo .deps/packet.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libenet\" -DPAC
KAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.3\" -DPACKAGE_STRING=\"libenet\
1.3.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVER
SION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE
S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude
  -g -O2 -MT peer.lo -MD -MP -MF .deps/peer.Tpo -c -o peer.lo peer.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\"
-DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"libenet 1.3.3\"" -DPACKAGE_BUGRE
PORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.3\" -DSTDC_HE
ADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING
_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude -g -O2 -MT peer.lo -MD -M
P -MF .deps/peer.Tpo -c peer.c -o peer.o
mv -f .deps/peer.Tpo .deps/peer.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libenet\" -DPAC
KAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.3\" -DPACKAGE_STRING=\"libenet\
1.3.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVER
SION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE
S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude
  -g -O2 -MT protocol.lo -MD -MP -MF .deps/protocol.Tpo -c -o protocol.lo protoc
ol.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\"
-DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"libenet 1.3.3\"" -DPACKAGE_BUGRE
PORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.3\" -DSTDC_HE
ADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING
_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude -g -O2 -MT protocol.lo -M
D -MP -MF .deps/protocol.Tpo -c protocol.c -o protocol.o
mv -f .deps/protocol.Tpo .deps/protocol.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libenet\" -DPAC
KAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.3\" -DPACKAGE_STRING=\"libenet\
1.3.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVER
SION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE
S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude
  -g -O2 -MT unix.lo -MD -MP -MF .deps/unix.Tpo -c -o unix.lo unix.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\"
-DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"libenet 1.3.3\"" -DPACKAGE_BUGRE
PORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.3\" -DSTDC_HE
ADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING
_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude -g -O2 -MT unix.lo -MD -M
P -MF .deps/unix.Tpo -c unix.c -o unix.o
mv -f .deps/unix.Tpo .deps/unix.Plo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"libenet\" -DPAC
KAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.3.3\" -DPACKAGE_STRING=\"libenet\
1.3.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVER
SION=\"1.3.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_
STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPE
S_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude
  -g -O2 -MT win32.lo -MD -MP -MF .deps/win32.Tpo -c -o win32.lo win32.c
libtool: compile:  gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\"
-DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"libenet 1.3.3\"" -DPACKAGE_BUGRE
PORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libenet\" -DVERSION=\"1.3.3\" -DSTDC_HE
ADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING
_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -Iinclude -g -O2 -MT win32.lo -MD -
MP -MF .deps/win32.Tpo -c win32.c -o win32.o
mv -f .deps/win32.Tpo .deps/win32.Plo
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2  -version-info 1:3:0  -o li
benet.la -rpath /usr/local/lib callbacks.lo compress.lo host.lo list.lo packet.l
o peer.lo protocol.lo unix.lo win32.lo
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared
libraries
libtool: link: ar cru .libs/libenet.a  callbacks.o compress.o host.o list.o pack
et.o peer.o protocol.o unix.o win32.o
libtool: link: ranlib .libs/libenet.a
libtool: link: ( cd ".libs" && rm -f "libenet.la" && cp -p "../libenet.la" "libe
net.la" )
make[1]: Leaving directory `/sourcescube/acr_02_05_09-src/enet'
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sd
l-config --cflags`  -o native_client client.o clientgame.o clients2c.o command.o
console.o docs.o editing.o entities.o log.o main.o menus.o packetqueue.o physic
s.o protocol.o rendercubes.o rendergl.o renderhud.o rendermodel.o renderparticle
s.o rendertext.o rndmap.o scoreboard.o server.o serverbrowser.o serverms.o shado
w.o sound.o texture.o tools.o water.o weapon.o wizard.o world.o worldio.o worldl
ight.o worldocull.o worldrender.o bot/bot.o bot/botmanager.o bot/bot_ai.o bot/bo
t_util.o bot/bot_waypoint.o bot/ac_bot.o bot/ac_bot_ai.o  -L/usr/X11R6/lib -L../
enet/.libs -lenet `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile

d:/logiciels/instales/developpement/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.
1/../../../../mingw32/bin/ld.exe: cannot find -lz
d:/logiciels/instales/developpement/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.
1/../../../../mingw32/bin/ld.exe: cannot find -lGL
d:/logiciels/instales/developpement/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.
1/../../../../mingw32/bin/ld.exe: cannot find -lopenal
d:/logiciels/instales/developpement/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.
1/../../../../mingw32/bin/ld.exe: cannot find -lvorbisfile
collect2.exe: error: ld returned 1 exit status
make: *** [client] Error 1

[email protected]@PC-de-nlg /sourcescube/acr_02_05_09-src/src

Reply
03-22-2014, 09:13 AM,
#2
RE: compiling error
It seems that you are missing the dependencies.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Reply
03-22-2014, 06:36 PM,
#3
RE: compiling error
It appears it isn't searching correctly for the libraries to link to. If you know how to add it they are in ../../bin_win32
Reply
03-23-2014, 04:27 PM,
#4
RE: compiling error
where need I copy them ?

Reply
03-23-2014, 04:32 PM,
#5
RE: compiling error
You should be able to add them to the search path in project options. If you don't know how to do that(and I don't remember right now) copying the files into the codeblocks directory or the source directory should work.
Reply
04-12-2014, 07:10 AM,
#6
RE: compiling error
Now, I (theorically) found and installed all the missing libraries then I retried to compile. There is no missing library error message but there are now hundreds of errors I' not sure to undertand.

The output is so huge I can't validate a post with it in on this forum. It's why I posted in an attachment in this threead of the armory.

Reply
09-08-2014, 04:36 PM,
#7
RE: compiling error
Instead create a new thread I revive this one.

Here is the build log of the last try :
Code:
-------------- Build: server in AssaultCube (compiler: GNU GCC Compiler)---------------

Target is up to date.

-------------- Build: client in AssaultCube (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -L..\..\bin_win32 -L..\lib  -o ..\..\bin_win32\acr_client.exe .objs\default\src\audiomanager.o .objs\default\src\bot\ac_bot.o .objs\default\src\bot\ac_bot_ai.o .objs\default\src\bot\bot.o .objs\default\src\bot\bot_ai.o .objs\default\src\bot\bot_util.o .objs\default\src\bot\bot_waypoint.o .objs\default\src\bot\botmanager.o .objs\default\src\client.o .objs\default\src\clientgame.o .objs\default\src\clients2c.o .objs\default\src\command.o .objs\default\src\console.o .objs\default\src\crypto.o .objs\default\src\docs.o .objs\default\src\editing.o .objs\default\src\entities.o .objs\default\src\i18n.o .objs\default\src\log.o .objs\default\src\main.o .objs\default\src\menus.o .objs\default\src\oggstream.o .objs\default\src\openal.o .objs\default\src\packetqueue.o .objs\default\src\physics.o .objs\default\src\protocol.o .objs\default\src\rendercubes.o .objs\default\src\rendergl.o .objs\default\src\renderhud.o .objs\default\src\rendermodel.o .objs\default\src\renderparticles.o .objs\default\src\rendertext.o .objs\default\src\rndmap.o .objs\default\src\scoreboard.o .objs\default\src\server.o .objs\default\src\serverbrowser.o .objs\default\src\serverms.o .objs\default\src\shadow.o .objs\default\src\sound.o .objs\default\src\soundlocation.o .objs\default\src\soundscheduler.o .objs\default\src\stream.o .objs\default\src\texture.o .objs\default\src\tools.o .objs\default\src\water.o .objs\default\src\weapon.o .objs\default\src\wizard.o .objs\default\src\world.o .objs\default\src\worldio.o .objs\default\src\worldlight.o .objs\default\src\worldocull.o .objs\default\src\worldrender.o .objs\default\src\zip.o   -mwindows -m32 -s  -lmingw32 -lSDLmain -lSDL -lSDL_image -lzdll -lopengl32 -lenet -lOpenAL32 -lvorbisfile -ljpeg -lintl -lcurldll -lws2_32 -lwinmm
..\lib/libenet.a(unix.o): In function `enet_address_set_host':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:89: undefined reference to `gethostbyname'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:96: undefined reference to `inet_pton'
..\lib/libenet.a(unix.o): In function `enet_address_get_host_ip':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:113: undefined reference to `inet_ntop'
..\lib/libenet.a(unix.o): In function `enet_address_get_host':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:144: undefined reference to `gethostbyaddr'
..\lib/libenet.a(unix.o): In function `enet_socket_bind':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:175: undefined reference to `bind'
..\lib/libenet.a(unix.o): In function `enet_socket_create':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:189: undefined reference to `socket'
..\lib/libenet.a(unix.o): In function `enet_socket_set_option':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:211: undefined reference to `setsockopt'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:200: undefined reference to `fcntl'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:200: undefined reference to `fcntl'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:207: undefined reference to `setsockopt'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:215: undefined reference to `setsockopt'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:219: undefined reference to `setsockopt'
..\lib/libenet.a(unix.o): In function `enet_socket_connect':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:239: undefined reference to `connect'
..\lib/libenet.a(unix.o): In function `enet_socket_accept':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:249: undefined reference to `accept'
..\lib/libenet.a(unix.o): In function `enet_socket_send':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:298: undefined reference to `sendmsg'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:302: undefined reference to `__errno'
..\lib/libenet.a(unix.o): In function `enet_socket_receive':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:332: undefined reference to `recvmsg'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:336: undefined reference to `__errno'
..\lib/libenet.a(unix.o): In function `enet_socketset_select':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:364: undefined reference to `select'
..\lib/libenet.a(unix.o): In function `enet_socket_wait':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:383: undefined reference to `poll'
..\lib/libenet.a(unix.o): In function `enet_socket_listen':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:183: undefined reference to `listen'
..\lib/libvorbisfile.a(vorbisfile.o): In function `lookup_page_serialno':
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:213: undefined reference to `ogg_page_serialno'
..\lib/libvorbisfile.a(vorbisfile.o): In function `make_decode_ready':
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:606: undefined reference to `vorbis_synthesis_init'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:609: undefined reference to `vorbis_block_init'
..\lib/libvorbisfile.a(vorbisfile.o): In function `get_next_page':
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:115: undefined reference to `ogg_sync_pageseek'
..\lib/libvorbisfile.a(vorbisfile.o): In function `get_data':
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:68: undefined reference to `__errno'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:71: undefined reference to `ogg_sync_buffer'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:73: undefined reference to `ogg_sync_wrote'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:74: undefined reference to `__errno'
..\lib/libvorbisfile.a(vorbisfile.o): In function `decode_clear':
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:660: undefined reference to `vorbis_dsp_clear'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:661: undefined reference to `vorbis_block_clear'
..\lib/libvorbisfile.a(vorbisfile.o): In function `fetch_headers':
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:296: undefined reference to `vorbis_info_init'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:297: undefined reference to `vorbis_comment_init'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:303: undefined reference to `ogg_page_bos'
..\lib/libvorbisfile.a(vorbisfile.o): In function `add_serialno':
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:189: undefined reference to `ogg_page_serialno'
..\lib/libvorbisfile.a(vorbisfile.o): In function `fetch_headers':
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:320: undefined reference to `ogg_page_serialno'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:320: undefined reference to `ogg_stream_reset_serialno'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:321: undefined reference to `ogg_stream_pagein'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:323: undefined reference to `ogg_stream_packetout'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:324: undefined reference to `vorbis_synthesis_idheader'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:348: undefined reference to `ogg_page_serialno'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:349: undefined reference to `ogg_stream_pagein'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:410: undefined reference to `vorbis_info_clear'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:411: undefined reference to `vorbis_comment_clear'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:327: undefined reference to `vorbis_synthesis_headerin'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:374: undefined reference to `vorbis_synthesis_headerin'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:367: undefined reference to `ogg_stream_packetout'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:387: undefined reference to `ogg_page_serialno'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:394: undefined reference to `ogg_page_bos'
/usr/src/libvorbis/libvorbis-1.3.3-1/src/libvorbis-1.3.3/lib/vorbisfile.c:388: undefined reference to `ogg_stream_pagein'
Process terminated with status 1 (0 minutes, 26 seconds)
50 errors, 0 warnings (0 minutes, 26 seconds)

Reply
09-11-2014, 01:24 PM,
#8
RE: compiling error
I Just copied all the dll files in the folder where the compiler put the executables (I hadn't the time to do it before) then I retried to compile. There again are errors.

here is the build log :
Code:
-------------- Build: server in AssaultCube (compiler: GNU GCC Compiler)---------------

Target is up to date.

-------------- Build: client in AssaultCube (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -L..\..\bin_win32 -L..\lib  -o ..\..\bin_win32\acr_client.exe .objs\default\src\audiomanager.o .objs\default\src\bot\ac_bot.o .objs\default\src\bot\ac_bot_ai.o .objs\default\src\bot\bot.o .objs\default\src\bot\bot_ai.o .objs\default\src\bot\bot_util.o .objs\default\src\bot\bot_waypoint.o .objs\default\src\bot\botmanager.o .objs\default\src\client.o .objs\default\src\clientgame.o .objs\default\src\clients2c.o .objs\default\src\command.o .objs\default\src\console.o .objs\default\src\crypto.o .objs\default\src\docs.o .objs\default\src\editing.o .objs\default\src\entities.o .objs\default\src\i18n.o .objs\default\src\log.o .objs\default\src\main.o .objs\default\src\menus.o .objs\default\src\oggstream.o .objs\default\src\openal.o .objs\default\src\packetqueue.o .objs\default\src\physics.o .objs\default\src\protocol.o .objs\default\src\rendercubes.o .objs\default\src\rendergl.o .objs\default\src\renderhud.o .objs\default\src\rendermodel.o .objs\default\src\renderparticles.o .objs\default\src\rendertext.o .objs\default\src\rndmap.o .objs\default\src\scoreboard.o .objs\default\src\server.o .objs\default\src\serverbrowser.o .objs\default\src\serverms.o .objs\default\src\shadow.o .objs\default\src\sound.o .objs\default\src\soundlocation.o .objs\default\src\soundscheduler.o .objs\default\src\stream.o .objs\default\src\texture.o .objs\default\src\tools.o .objs\default\src\water.o .objs\default\src\weapon.o .objs\default\src\wizard.o .objs\default\src\world.o .objs\default\src\worldio.o .objs\default\src\worldlight.o .objs\default\src\worldocull.o .objs\default\src\worldrender.o .objs\default\src\zip.o   -mwindows -m32 -s  -lmingw32 -lSDLmain -lSDL -lSDL_image -lzdll -lopengl32 -lenet -lOpenAL32 -lvorbisfile -ljpeg -lintl -lcurldll -lws2_32 -lwinmm
..\lib/libenet.a(unix.o): In function `enet_address_set_host':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:89: undefined reference to `gethostbyname'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:96: undefined reference to `inet_pton'
..\lib/libenet.a(unix.o): In function `enet_address_get_host_ip':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:113: undefined reference to `inet_ntop'
..\lib/libenet.a(unix.o): In function `enet_address_get_host':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:144: undefined reference to `gethostbyaddr'
..\lib/libenet.a(unix.o): In function `enet_socket_bind':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:175: undefined reference to `bind'
..\lib/libenet.a(unix.o): In function `enet_socket_create':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:189: undefined reference to `socket'
..\lib/libenet.a(unix.o): In function `enet_socket_set_option':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:211: undefined reference to `setsockopt'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:200: undefined reference to `fcntl'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:200: undefined reference to `fcntl'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:207: undefined reference to `setsockopt'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:215: undefined reference to `setsockopt'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:219: undefined reference to `setsockopt'
..\lib/libenet.a(unix.o): In function `enet_socket_connect':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:239: undefined reference to `connect'
..\lib/libenet.a(unix.o): In function `enet_socket_accept':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:249: undefined reference to `accept'
..\lib/libenet.a(unix.o): In function `enet_socket_send':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:298: undefined reference to `sendmsg'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:302: undefined reference to `__errno'
..\lib/libenet.a(unix.o): In function `enet_socket_receive':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:332: undefined reference to `recvmsg'
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:336: undefined reference to `__errno'
..\lib/libenet.a(unix.o): In function `enet_socketset_select':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:364: undefined reference to `select'
..\lib/libenet.a(unix.o): In function `enet_socket_wait':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:383: undefined reference to `poll'
..\lib/libenet.a(unix.o): In function `enet_socket_listen':
/cygdrive/d/documents/sourcescube/acr_02_05_09-src_test/enet/unix.c:183: undefined reference to `listen'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 6 seconds)
21 errors, 0 warnings (0 minutes, 6 seconds)

Reply
09-11-2014, 03:01 PM,
#9
RE: compiling error
That is an inability to link with libenet, you are probably missing one dll
Reply
09-12-2014, 05:35 AM,
#10
RE: compiling error
It's strange. I copied all the dll of the game.

here is the list :
* jpeg.dll
* libfreetype-6.dll
* libiconv2.dll
* libintl3.dll
* libpng12-0.dll
* libvorbis.dll
* libvorbisfile.dll
* ogg.dll
* openal32_RemoveThisPartToUseOpenAL-Soft.dll
* SDL.dll
* SDL_image.dll
* SDL_ttf.dll
* zlib1.dll

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)