Re: Bug in compiling CVS due to Radius
"Alex Judd" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Here's the error if you _don't_ switch it around [root@pigwidgeon gateway]# make gcc -D_REENTRANT=1 -I. -Igw -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml 2 -o gw/wapbox gw/wapbox.o libgw.a libwmlscript.a libwap.a libgwlib.a -lpthread -lresolv -lnsl -lm -L/usr/lib -lxml2 -lz -lm gw/wapbox.o: In function `init_wapbox': /opt/enpocket/gateway/gw/wapbox.c:180: undefined reference to `radius_acct_init' gw/wapbox.o: In function `main': /opt/enpocket/gateway/gw/wapbox.c:727: undefined reference to `radius_acct_shutdown' libgw.a(wap-appl.o): In function `add_msisdn': /opt/enpocket/gateway/gw/wap-appl.c:618: undefined reference to `radius_acct_get_msisdn' collect2: ld returned 1 exit status make: *** [gw/wapbox] Error 1 ----- Original Message ----- From: "Alex Judd" <[email protected]> To: <[email protected]> Sent: Friday, August 15, 2003 12:25 PM Subject: Bug in compiling CVS due to Radius > With the current CVS we get errors trying to compile WAP box from clean, as > we reference the Radius stuff before we compile it. > > Way around this is to compile radius first, then the wap component. > > - SNIP - > Makefile.in > > line 125 of 346 becomes > > ++ wapsrcs = $(wildcard radius/*.c) $(wildcard wap/*.c) > > not > > -- wapsrcs = $(wildcard wap/*.c) $(wildcard radius/*.c) > > Alex >