hmm , I got frustrated ! the configure script : checking for a BSD-compatible install... /opt/csw/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep checking for egrep... /usr/sfw/bin/ggrep -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 gsm.h usability... no checking gsm.h presence... no checking for gsm.h... no checking g729_encoder.h usability... no checking g729_encoder.h presence... no checking for g729_encoder.h... no checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking err.h usability... no checking err.h presence... no checking for err.h... no checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking return type of signal handlers... void checking for atexit... yes checking for gettimeofday... yes checking for memset... yes checking for mkdir... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands
the compilation process : make all-am make[1]: Entering directory `/usr/share/src/rtpproxy' if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi main.c: In function `setbindhost': main.c:91: warning: implicit declaration of function `errx' main.c: In function `init_config': main.c:147: warning: implicit declaration of function `err' main.c:233: warning: implicit declaration of function `warnx' main.c: In function `main': main.c:787: warning: unsigned int format, pid_t arg (arg 3) if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtp_server.o -MD -MP -MF ".deps/rtp_server.Tpo" -c -o rtp_server.o rtp_server.c; \ then mv -f ".deps/rtp_server.Tpo" ".deps/rtp_server.Po"; else rm -f ".deps/rtp_server.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_record.o -MD -MP -MF ".deps/rtpp_record.Tpo" -c -o rtpp_record.o rtpp_record.c; \ then mv -f ".deps/rtpp_record.Tpo" ".deps/rtpp_record.Po"; else rm -f ".deps/rtpp_record.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_util.o -MD -MP -MF ".deps/rtpp_util.Tpo" -c -o rtpp_util.o rtpp_util.c; \ then mv -f ".deps/rtpp_util.Tpo" ".deps/rtpp_util.Po"; else rm -f ".deps/rtpp_util.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtp.o -MD -MP -MF ".deps/rtp.Tpo" -c -o rtp.o rtp.c; \ then mv -f ".deps/rtp.Tpo" ".deps/rtp.Po"; else rm -f ".deps/rtp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtp_resizer.o -MD -MP -MF ".deps/rtp_resizer.Tpo" -c -o rtp_resizer.o rtp_resizer.c; \ then mv -f ".deps/rtp_resizer.Tpo" ".deps/rtp_resizer.Po"; else rm -f ".deps/rtp_resizer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_session.o -MD -MP -MF ".deps/rtpp_session.Tpo" -c -o rtpp_session.o rtpp_session.c; \ then mv -f ".deps/rtpp_session.Tpo" ".deps/rtpp_session.Po"; else rm -f ".deps/rtpp_session.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_command.o -MD -MP -MF ".deps/rtpp_command.Tpo" -c -o rtpp_command.o rtpp_command.c; \ then mv -f ".deps/rtpp_command.Tpo" ".deps/rtpp_command.Po"; else rm -f ".deps/rtpp_command.Tpo"; exit 1; fi rtpp_command.c: In function `handle_command': rtpp_command.c:607: warning: implicit declaration of function `alloca' if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_log.o -MD -MP -MF ".deps/rtpp_log.Tpo" -c -o rtpp_log.o rtpp_log.c; \ then mv -f ".deps/rtpp_log.Tpo" ".deps/rtpp_log.Po"; else rm -f ".deps/rtpp_log.Tpo"; exit 1; fi gcc -std=gnu99 -Wall -Wno-uninitialized -g -O2 -lsocket -lnsl -lxnet -lrt -o rtpproxy main.o rtp_server.o rtpp_record.o rtpp_util.o rtp.o rtp_resizer.o rtpp_session.o rtpp_command.o rtpp_log.o -lm Undefined first referenced symbol in file err main.o errx main.o warnx main.o ld: fatal: Symbol referencing errors. No output written to rtpproxy collect2: ld returned 1 exit status make[1]: *** [rtpproxy] Error 1 make[1]: Leaving directory `/usr/share/src/rtpproxy' make: *** [all] Error 2
_______________________________________________ Users mailing list Users@rtpproxy.org http://lists.rtpproxy.org/mailman/listinfo/users