Thanks Paul for your help Can you please tell me where to put this option? -lkstat!!!
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Hampson Sent: June 22, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: RE: Radius does not try to register with SMUX > From: Yousef Jamous > Sent: Saturday, 21 June 2003 4:09 PM > Here's my config.log > I have gcc 3.0.1 > configure:7918: gcc -o conftest -g -O2 -D_REENTRANT > -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow > -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > -Wnested-externs conftest.c -lnsl -lresolv -lsocket -lposix4 > -lpthread -L/usr/local/lib -lsnmp 1>&5 > configure:7912: warning: function declaration isn't a prototype > configure:7913: warning: function declaration isn't a prototype > /usr/local/lib/libsnmp.so: undefined reference to `kstat_read' > /usr/local/lib/libsnmp.so: undefined reference to `kstat_data_lookup' > /usr/local/lib/libsnmp.so: undefined reference to `kstat_close' > /usr/local/lib/libsnmp.so: undefined reference to `kstat_lookup' > /usr/local/lib/libsnmp.so: undefined reference to `kstat_open' Interesting... according to Google, kstat_read etc are in -lkstat CFLAGS=-lkstat ./configure ... Maybe? If this proves to fix it, maybe -lkstat should be added as a thing for the configure script to attempt... (Note to self: aclocal.m4:3903) > collect2: ld returned 1 exit status > configure: failed program was: > #line 7911 "configure" > #include "confdefs.h" > extern char snmp_build_var_op(); > int main() { > snmp_build_var_op() > ; return 0; } -- ========================================================= Paul "TBBle" Hampson Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] The Creation of the Universe was made possible by a grant from Texas Instruments. -- PBS --------------------------------------------------------- Random signature generator 3.0 by Paul "TBBle" Hampson ========================================================= - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
