[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Problem of rlm_ippool
From: ho k <kinkh1 () yahoo ! com>
Date: 2002-08-29 1:20:49
[Download RAW message or body]
Hi
I got the warning message during compiled rlm_ippool
module:
rlm_ippool.c: In function `ippool_instantiate':
rlm_ippool.c:223: warning: decimal constant is so
large that it is unsigned
rlm_ippool.c:230: warning: assignment from
incompatible pointer type
rlm_ippool.c:237: warning: assignment from
incompatible pointer type
rlm_ippool.c: In function `ippool_accounting':
rlm_ippool.c:321: warning: assignment from
incompatible pointer type
rlm_ippool.c:337: warning: assignment from
incompatible pointer type
rlm_ippool.c:352: warning: assignment from
incompatible pointer type
rlm_ippool.c:363: warning: assignment from
incompatible pointer type
rlm_ippool.c: In function `ippool_authorize':
rlm_ippool.c:441: warning: assignment from
incompatible pointer type
rlm_ippool.c:458: warning: assignment from
incompatible pointer type
rlm_ippool.c:471: warning: assignment from
incompatible pointer type
rlm_ippool.c:482: warning: assignment from
incompatible pointer type
rlm_ippool.c:526: warning: assignment from
incompatible pointer type
rlm_ippool.c:566: warning: assignment from
incompatible pointer type
rlm_ippool.c:580: warning: assignment from
incompatible pointer type
rlm_ippool.c:593: warning: assignment from
incompatible pointer type
rlm_ippool.c:604: warning: assignment from
incompatible pointer type
"
Would the error affect the radius
running.
The overall output for rlm_ippool is as follows:
# ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
checking to see GDBM_SYNC status... needs it.
checking for gdbm_fdesc... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
# gmake
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-Wall -D_GNU_SOURCE -DNDEBUG -I../../in
clude -c rlm_ippool.c -o rlm_ippool.o
In file included from rlm_ippool.c:48:
/usr/include/netinet/in.h:211: warning: `INADDR_ANY'
redefined
../../include/missing.h:73: warning: this is the
location of the previous definition
/usr/include/netinet/in.h:212: warning:
`INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the
location of the previous definition
rlm_ippool.c: In function `ippool_instantiate':
rlm_ippool.c:223: warning: decimal constant is so
large that it is unsigned
rlm_ippool.c:230: warning: assignment from
incompatible pointer type
rlm_ippool.c:237: warning: assignment from
incompatible pointer type
rlm_ippool.c: In function `ippool_accounting':
rlm_ippool.c:321: warning: assignment from
incompatible pointer type
rlm_ippool.c:337: warning: assignment from
incompatible pointer type
rlm_ippool.c:352: warning: assignment from
incompatible pointer type
rlm_ippool.c:363: warning: assignment from
incompatible pointer type
rlm_ippool.c: In function `ippool_authorize':
rlm_ippool.c:441: warning: assignment from
incompatible pointer type
rlm_ippool.c:458: warning: assignment from
incompatible pointer type
rlm_ippool.c:471: warning: assignment from
incompatible pointer type
rlm_ippool.c:482: warning: assignment from
incompatible pointer type
rlm_ippool.c:526: warning: assignment from
incompatible pointer type
rlm_ippool.c:566: warning: assignment from
incompatible pointer type
rlm_ippool.c:580: warning: assignment from
incompatible pointer type
rlm_ippool.c:593: warning: assignment from
incompatible pointer type
rlm_ippool.c:604: warning: assignment from
incompatible pointer type
/download/radius7temp/freeradius-0.7/libtool
--mode=link ld \
-module -static -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBU
G -I../../include rlm_ippool.o -o rlm_ippool.a
mkdir .libs
ar cru rlm_ippool.a rlm_ippool.o
ranlib rlm_ippool.a
/download/radius7temp/freeradius-0.7/libtool
--mode=compile gcc -g -O2 -D_REENTRANT -D_POS
IX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG
-I../../include -c rlm_ippool.c
rm -f .libs/rlm_ippool.lo
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-Wall -D_GNU_SOURCE -DNDEBUG -I../../inc
lude -c rlm_ippool.c -fPIC -DPIC -o
.libs/rlm_ippool.lo
In file included from rlm_ippool.c:48:
/usr/include/netinet/in.h:211: warning: `INADDR_ANY'
redefined
../../include/missing.h:73: warning: this is the
location of the previous definition
/usr/include/netinet/in.h:212: warning:
`INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the
location of the previous definition
rlm_ippool.c: In function `ippool_instantiate':
rlm_ippool.c:223: warning: decimal constant is so
large that it is unsigned
rlm_ippool.c:230: warning: assignment from
incompatible pointer type
rlm_ippool.c:237: warning: assignment from
incompatible pointer type
rlm_ippool.c: In function `ippool_accounting':
rlm_ippool.c:321: warning: assignment from
incompatible pointer type
rlm_ippool.c:337: warning: assignment from
incompatible pointer type
rlm_ippool.c:352: warning: assignment from
incompatible pointer type
rlm_ippool.c:363: warning: assignment from
incompatible pointer type
rlm_ippool.c: In function `ippool_authorize':
rlm_ippool.c:441: warning: assignment from
incompatible pointer type
rlm_ippool.c:458: warning: assignment from
incompatible pointer type
rlm_ippool.c:471: warning: assignment from
incompatible pointer type
rlm_ippool.c:482: warning: assignment from
incompatible pointer type
rlm_ippool.c:526: warning: assignment from
incompatible pointer type
rlm_ippool.c:566: warning: assignment from
incompatible pointer type
rlm_ippool.c:580: warning: assignment from
incompatible pointer type
rlm_ippool.c:593: warning: assignment from
incompatible pointer type
rlm_ippool.c:604: warning: assignment from
incompatible pointer type
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-Wall -D_GNU_SOURCE -DNDEBUG -I../../inc
lude -c rlm_ippool.c -o rlm_ippool.o >/dev/null 2>&1
mv -f .libs/rlm_ippool.lo rlm_ippool.lo
/download/radius7temp/freeradius-0.7/libtool
--mode=link gcc -release 0.7 \
-module -export-dynamic -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE
-DNDEBUG -I../../include \
-o rlm_ippool.la -rpath /usr/local/lib rlm_ippool.lo
-lgdbm -lnsl -lresolv -lsocket -lposix
4
rm -fr .libs/rlm_ippool.la .libs/rlm_ippool.*
.libs/rlm_ippool-0.7.*
/usr/ccs/bin/ld -G -h rlm_ippool-0.7.so -o
.libs/rlm_ippool-0.7.so rlm_ippool.lo -R/usr/l
ocal/lib -R/usr/local/lib /usr/local/lib/libgdbm.so
-lnsl -lresolv -lsocket -lposix4 -lc
(cd .libs && rm -f rlm_ippool.so && ln -s
rlm_ippool-0.7.so rlm_ippool.so)
ar cru .libs/rlm_ippool.a rlm_ippool.o
ranlib .libs/rlm_ippool.a
creating rlm_ippool.la
(cd .libs && rm -f rlm_ippool.la && ln -s
../rlm_ippool.la rlm_ippool.la)
#
Regards
k
_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic