Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.7
-
Fix Version/s: None
-
Component/s: Build System
-
Labels:None
-
Environment:Clean build, yesterday and today GIT
-
Platform:Linux x86_64/gcc
-
Uname:Linux rositten 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
-
CPU Info:
-
GCC Version:gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
-
FreeSWITCH GIT Revision:Updating b3b33ea..812e5e9
-
Reproduced with GIT HEAD?:Yes
-
lsb_release:
Description
Making all in .
quiet_libtool: link: gcc -I/home/nevian/work/freeswitch/libs/curl/include -I/home/nevian/work/freeswitch/src/include -I/home/nevian/work/freeswitch/src/include -I/home/nevian/work/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2 -pthread -D_REENTRANT -D_GNU_SOURCE -I/home/nevian/work/freeswitch/libs/apr/include -I/home/nevian/work/freeswitch/libs/apr-util/include -I/home/nevian/work/freeswitch/libs/apr-util/xml/expat/lib -I/home/nevian/work/freeswitch/libs/stfu -I/home/nevian/work/freeswitch/libs/sqlite -I/home/nevian/work/freeswitch/libs/pcre -I/home/nevian/work/freeswitch/libs/speex/include -Ilibs/speex/include -I/home/nevian/work/freeswitch/libs/srtp/include -I/home/nevian/work/freeswitch/libs/srtp/crypto/include -Ilibs/srtp/crypto/include -I/home/nevian/work/freeswitch/libs/spandsp/src -I/home/nevian/work/freeswitch/libs/tiff-3.8.2/libtiff -DENABLE_SRTP -I/home/nevian/work/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -g -O2 -o .libs/freeswitch freeswitch-switch.o -lm -lz ./.libs/libfreeswitch.so libs/apr/.libs/libapr-1.a -lrt -ldl -lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lncurses -pthread -Wl,-rpath -Wl,/usr/local/freeswitch/lib
./.libs/libfreeswitch.so: undefined reference to `inflateReset'
./.libs/libfreeswitch.so: undefined reference to `inflateEnd'
./.libs/libfreeswitch.so: undefined reference to `inflateInit2_'
./.libs/libfreeswitch.so: undefined reference to `inflate'
./.libs/libfreeswitch.so: undefined reference to `zlibVersion'
./.libs/libfreeswitch.so: undefined reference to `inflateInit_'
collect2: ld returned 1 exit status
make[2]: *** [freeswitch] Error 1
quiet_libtool: link: gcc -I/home/nevian/work/freeswitch/libs/curl/include -I/home/nevian/work/freeswitch/src/include -I/home/nevian/work/freeswitch/src/include -I/home/nevian/work/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2 -pthread -D_REENTRANT -D_GNU_SOURCE -I/home/nevian/work/freeswitch/libs/apr/include -I/home/nevian/work/freeswitch/libs/apr-util/include -I/home/nevian/work/freeswitch/libs/apr-util/xml/expat/lib -I/home/nevian/work/freeswitch/libs/stfu -I/home/nevian/work/freeswitch/libs/sqlite -I/home/nevian/work/freeswitch/libs/pcre -I/home/nevian/work/freeswitch/libs/speex/include -Ilibs/speex/include -I/home/nevian/work/freeswitch/libs/srtp/include -I/home/nevian/work/freeswitch/libs/srtp/crypto/include -Ilibs/srtp/crypto/include -I/home/nevian/work/freeswitch/libs/spandsp/src -I/home/nevian/work/freeswitch/libs/tiff-3.8.2/libtiff -DENABLE_SRTP -I/home/nevian/work/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -g -O2 -o .libs/freeswitch freeswitch-switch.o -lm -lz ./.libs/libfreeswitch.so libs/apr/.libs/libapr-1.a -lrt -ldl -lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lncurses -pthread -Wl,-rpath -Wl,/usr/local/freeswitch/lib
./.libs/libfreeswitch.so: undefined reference to `inflateReset'
./.libs/libfreeswitch.so: undefined reference to `inflateEnd'
./.libs/libfreeswitch.so: undefined reference to `inflateInit2_'
./.libs/libfreeswitch.so: undefined reference to `inflate'
./.libs/libfreeswitch.so: undefined reference to `zlibVersion'
./.libs/libfreeswitch.so: undefined reference to `inflateInit_'
collect2: ld returned 1 exit status
make[2]: *** [freeswitch] Error 1
try moving -lz further down the list.