Re: [syslog-ng]syslog-ng development release 1.9.2
On Wed, 2005-01-05 at 10:56 -0800, nate@campin.net wrote:
Thanks a lot (sorry for the top post, using my webmail from work).
I have a missing function again:
test_msgparse.c:66: warning: format argument is not a pointer (arg 3) test_msgparse.c:67: warning: format argument is not a pointer (arg 3) test_msgparse.c:68: warning: format argument is not a pointer (arg 3) gcc -I../src -Wall -g -o test_msgparse test_msgparse.o ../src/logmsg.o ../src/misc.o ../src/gsockaddr.o -ll -lnsl -lsocket -ldoor -L/opt/csw/lib -lglib-2.0 -lintl -liconv -levtlog test_msgparse.o: In function `testcase': /export/home/ncampi/syslog-ng-1.9.2+20050105+1302/tests/test_msgparse.c:50: undefined reference to `__STRING' /export/home/ncampi/syslog-ng-1.9.2+20050105+1302/tests/test_msgparse.c:53: undefined reference to `__STRING' /export/home/ncampi/syslog-ng-1.9.2+20050105+1302/tests/test_msgparse.c:54: undefined reference to `__STRING' /export/home/ncampi/syslog-ng-1.9.2+20050105+1302/tests/test_msgparse.c:55: undefined reference to `__STRING' /export/home/ncampi/syslog-ng-1.9.2+20050105+1302/tests/test_msgparse.c:60: undefined reference to `__STRING' test_msgparse.o:/export/home/ncampi/syslog-ng-1.9.2+20050105+1302/tests/test_msgparse.c:64: more undefined references to `__STRING' follow ./src/gsockaddr.o: In function `g_inet_aton': /export/home/ncampi/syslog-ng-1.9.2+20050105+1302/src/gsockaddr.c:63: undefined reference to `inet_aton' ../src/gsockaddr.o: In function `g_sockaddr_inet_new': /export/home/ncampi/syslog-ng-1.9.2+20050105+1302/src/gsockaddr.c:348: undefined reference to `inet_aton' ./src/gsockaddr.o: In function `g_sockaddr_inet_range_new': /export/home/ncampi/syslog-ng-1.9.2+20050105+1302/src/gsockaddr.c:456: undefined reference to `inet_aton' collect2: ld returned 1 exit status make[2]: *** [test_msgparse] Error 1 make[2]: Leaving directory `/export/home/ncampi/syslog-ng-1.9.2+20050105+1302/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/ncampi/syslog-ng-1.9.2+20050105+1302' make: *** [all] Error 2
Isn't that a standard library function? Am I doing something wrong here?
that is only a test program and your syslog-ng binary should have been compiled at this phase. inet_aton is a standard symbol, but it is not in stock libc under solaris, it is either in -lsocket or in -lnet. -- Bazsi
participants (1)
-
Balazs Scheidler