Lo everyone,

I'm trying to compile FreeRadius with MySQL on FreeBSD 4.6-STABLE.

Configure worked wonderfully (I disabled snmp as I know this causes errors),
configure ran successfully, with the following parameters:
./configure --prefix=/usr/local --with-logdir=/var/log/radius --with-radacct
dir=/usr/local/etc/radacct --with-raddbdir=/usr/local/etc/raddb --with-dict-
nocase --with-threads --without-snmp


When running make, it hapily compiles, untill it reaches FreeTDS.  I've
installed FreeTDS from the FreeBSD Ports collection...
cknipe@netsonic:~/src/freeradius-0.7.1$ pkg_info |grep TDS
freetds-0.53_2      Sybase/Microsoft TDS protocol library

....
gcc  -g -O2 -pthread -D_THREAD_SAFE -Wall -D_GNU_SOURCE -g -Wshadow -Wpointe
r-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissi
ng-prototypes -Wmissing-declarations -Wnested-externs -I../.. -I../../../../
include -g -O2 -pthread -D_THREAD_SAFE -Wall -D_GNU_SOURCE -g -Wshadow -Wpoi
nter-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmi
ssing-prototypes -Wmissing-declarations -Wnested-externs -I/usr/local/includ
e -c sql_freetds.c -o sql_freetds.o
In file included from /usr/local/include/tds.h:35,
                 from sql_freetds.h:11,
                 from sql_freetds.c:12:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../../../include/missing.h:73: warning: this is the location of the
previous definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../../../include/missing.h:77: warning: this is the location of the
previous definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../../../include/missing.h:81: warning: this is the location of the
previous definition
In file included from sql_freetds.h:11,
                 from sql_freetds.c:12:
/usr/local/include/tds.h:557: warning: declaration of `connect' shadows
global declaration
/usr/local/include/tds.h:586: warning: function declaration isn't a
prototype
/usr/local/include/tds.h:588: warning: function declaration isn't a
prototype
sql_freetds.c:272: conflicting types for `sql_fetch_row'
sql_freetds.h:31: previous declaration of `sql_fetch_row'
gmake[9]: *** [sql_freetds.o] Error 1
...

Does anyone have any ideas for me?

--
me



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to