Hello!

I'm having problems compiling latest CVS (some minutes ago) on Debian
woody.

Here are the errors (I also attach complete logs):

in configure:

checking gethostbyaddr_r() syntax... GNU-style
checking for isql.h... no
creating ./config.status
creating ./Make.inc
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./src/include/build-radpaths-h
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./src/main/checkrad.pl
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./src/main/radlast
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./src/main/radtest
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./scripts/rc.radiusd
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./scripts/radwatch
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./scripts/check-radiusd-config
sed: file conftest.s1 line 46: Unterminated `s' command


and so on.. I guess that script is broken (or not compatible with my sed?)


and then when doing make:

cc -D_LIBRADIUS -I../include -c md5.c
cc -D_LIBRADIUS -I../include -c hmac.c
cc -D_LIBRADIUS -I../include   -c -o snprintf.o snprintf.c
mode=link ld dict.o print.o radius.o valuepair.o token.o misc.o log.o
filters.o missing.o md5.o hmac.o snprintf.o -o radius.a
ld: warning: cannot find entry symbol _start; defaulting to 08048080
dict.o: In function `dict_free':
dict.o(.text+0x29): undefined reference to `free'
dict.o(.text+0x61): undefined reference to `free'
dict.o(.text+0x99): undefined reference to `free'
dict.o(.text+0xd6): undefined reference to `memset'
dict.o: In function `dict_addvendor':
dict.o(.text+0x118): undefined reference to `strlen'
dict.o(.text+0x146): undefined reference to `malloc'
dict.o(.text+0x17d): undefined reference to `strcpy'
dict.o: In function `dict_addattr':
dict.o(.text+0x1b7): undefined reference to `strlen'


and so on.. libtool problem?

Any ideas? freeradius 0.5 compiles OK out of the box.

Thanks!

- Pasi Kärkkäinen
                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.
loading cache ./config.cache
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking whether we are using SUNPro C... (cached) no
checking for ranlib... (cached) ranlib
checking for gmake... (cached) no
checking for make... (cached) /usr/bin/make
checking for main in -lltdl... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for ar... ar
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) no
creating libtool
loading cache ./config.cache
checking logdir... ${localstatedir}/log/radius
checking radacctdir... ${logdir}/radacct
checking raddbdir... ${sysconfdir}/raddb
checking for perl... (cached) /usr/bin/perl
checking for snmpget... (cached) /usr/local/bin/snmpget
checking for snmpwalk... (cached) /usr/local/bin/snmpwalk
checking for rusers... (cached) /usr/bin/rusers
checking for working aclocal... found
checking for working autoconf... found
checking for working autoheader... found
checking for locate... (cached) /usr/bin/locate
checking for dirname... (cached) /usr/bin/dirname
checking for grep... (cached) /bin/grep
checking for AIX... no
checking for pthread.h... (cached) yes
checking for pthread_join in -lpthread... (cached) yes
checking for library containing sem_init... (cached) -lpthread
checking for getsockname in -lsocket... (cached) no
checking for inet_aton in -lresolv... (cached) yes
checking for inet_ntoa in -lnsl... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for unistd.h... (cached) yes
checking for crypt.h... (cached) yes
checking for errno.h... (cached) yes
checking for resource.h... (cached) no
checking for getopt.h... (cached) yes
checking for malloc.h... (cached) yes
checking for utmp.h... (cached) yes
checking for utmpx.h... (cached) yes
checking for signal.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for syslog.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdio.h... (cached) yes
checking for netdb.h... (cached) yes
checking for semaphore.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/security.h... (cached) no
checking for prot.h... (cached) no
checking for sia.h... (cached) no
checking for siad.h... (cached) no
checking for regex.h... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for socklen_t... (cached) yes
checking for uint8_t... (cached) yes
checking for uint32_t... (cached) yes
checking for getopt_long... (cached) yes
checking for lockf... (cached) yes
checking for strsignal... (cached) yes
checking for sigaction... (cached) yes
checking for sigprocmask... (cached) yes
checking for pthread_sigmask... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for setsid... (cached) yes
checking for strncasecmp... (cached) yes
checking for strcasecmp... (cached) yes
checking for localtime_r... (cached) yes
checking for ctime_r... (cached) yes
checking for gmtime_r... (cached) yes
checking for strsep... (cached) yes
checking for inet_aton... (cached) yes
checking for gethostname... (cached) yes
checking for setlinebuf... (cached) yes
checking for setvbuf... (cached) yes
checking for sem_init... (cached) yes
checking for getusershell... (cached) yes
checking whether crypt must be declared... (cached) no
checking whether strncasecmp must be declared... (cached) no
checking whether strcasecmp must be declared... (cached) no
checking whether inet_aton must be declared... (cached) no
checking whether gethostname must be declared... (cached) no
checking whether setlinebuf must be declared... (cached) no
checking whether getusershell must be declared... (cached) no
checking whether endusershell must be declared... (cached) no
checking return type of signal handlers... (cached) void
checking for ut_xtime in struct utmpx... no
checking for working const... (cached) yes
checking type of OS... Linux
checking for developer gcc flags... yes.  Using -g -Wshadow -Wpointer-arith 
-Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs
checking for crypt in -lcrypt... (cached) yes
checking for setkey in -lcipher... (cached) no
checking for asn1.h... no
checking gethostbyaddr_r() syntax... GNU-style
checking for isql.h... no
creating ./config.status
creating ./Make.inc
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./src/include/build-radpaths-h
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./src/main/checkrad.pl
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./src/main/radlast
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./src/main/radtest
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./scripts/rc.radiusd
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./scripts/radwatch
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./scripts/check-radiusd-config
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./scripts/radiusd.cron.daily
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./scripts/radiusd.cron.monthly
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./scripts/cryptpasswd
sed: file conftest.s1 line 46: Unterminated `s' command
creating ./raddb/radiusd.conf
sed: file conftest.s1 line 46: Unterminated `s' command
creating src/include/autoconf.h
configuring in libltdl
running /bin/sh ./configure  --with-mysql-dir=/usr --enable-ltdl-install=no 
--cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -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 ) works... yes
checking whether the C compiler (gcc -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 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache .././config.cache within ltconfig
checking for ar... ar
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache .././config.cache
checking which extension is used for shared libraries... (cached) .so
checking which variable specifies run-time library path... (cached) LD_LIBRARY_PATH
checking for objdir... (cached) .libs
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for malloc.h... (cached) yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdio.h... (cached) yes
checking for ctype.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for dl.h... (cached) no
checking for dld.h... (cached) no
checking for string.h... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking whether libtool supports -dlopen/-dlpreopen... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... (cached) no
checking for dlerror... (cached) yes
checking command to parse /usr/bin/nm -B output... (cached) yes
checking for _ prefix in compiled symbols... (cached) no
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
make[1]: Entering directory `/home/pk/cvs/freeradius/radiusd'
Making all in libltdl...
make[2]: Entering directory `/home/pk/cvs/freeradius/radiusd/libltdl'
make[2]: Leaving directory `/home/pk/cvs/freeradius/radiusd/libltdl'
Making all in src...
make[2]: Entering directory `/home/pk/cvs/freeradius/radiusd/src'
make[3]: Entering directory `/home/pk/cvs/freeradius/radiusd/src'
Making all in lib...
make[4]: Entering directory `/home/pk/cvs/freeradius/radiusd/src/lib'
cc -D_LIBRADIUS -I../include -c dict.c
cc -D_LIBRADIUS -I../include -c print.c
cc -D_LIBRADIUS -I../include -c radius.c
cc -D_LIBRADIUS -I../include -c valuepair.c
cc -D_LIBRADIUS -I../include -c token.c
cc -D_LIBRADIUS -I../include -c misc.c
cc -D_LIBRADIUS -I../include -c log.c
cc -D_LIBRADIUS -I../include -c filters.c
cc -D_LIBRADIUS -I../include -c missing.c
cc -D_LIBRADIUS -I../include -c md5.c
cc -D_LIBRADIUS -I../include -c hmac.c
cc -D_LIBRADIUS -I../include   -c -o snprintf.o snprintf.c
mode=link ld dict.o print.o radius.o valuepair.o token.o misc.o log.o filters.o 
missing.o md5.o hmac.o snprintf.o -o radius.a
ld: warning: cannot find entry symbol _start; defaulting to 08048080
dict.o: In function `dict_free':
dict.o(.text+0x29): undefined reference to `free'
dict.o(.text+0x61): undefined reference to `free'
dict.o(.text+0x99): undefined reference to `free'
dict.o(.text+0xd6): undefined reference to `memset'
dict.o: In function `dict_addvendor':
dict.o(.text+0x118): undefined reference to `strlen'
dict.o(.text+0x146): undefined reference to `malloc'
dict.o(.text+0x17d): undefined reference to `strcpy'
dict.o: In function `dict_addattr':
dict.o(.text+0x1b7): undefined reference to `strlen'
dict.o(.text+0x236): undefined reference to `malloc'
dict.o(.text+0x270): undefined reference to `strcpy'
dict.o: In function `dict_addvalue':
dict.o(.text+0x316): undefined reference to `strlen'
dict.o(.text+0x348): undefined reference to `strlen'
dict.o(.text+0x376): undefined reference to `malloc'
dict.o(.text+0x3ad): undefined reference to `strcpy'
dict.o(.text+0x3c3): undefined reference to `strcpy'
dict.o: In function `my_dict_init':
dict.o(.text+0x41d): undefined reference to `strlen'
dict.o(.text+0x433): undefined reference to `strlen'
dict.o(.text+0x46a): undefined reference to `strrchr'
dict.o(.text+0x491): undefined reference to `strcpy'
dict.o(.text+0x4d3): undefined reference to `strcmp'
dict.o(.text+0x4fd): undefined reference to `snprintf'
dict.o(.text+0x51a): undefined reference to `fopen'
dict.o(.text+0x539): undefined reference to `__errno_location'
dict.o(.text+0x545): undefined reference to `strerror'
dict.o(.text+0x569): undefined reference to `__errno_location'
dict.o(.text+0x575): undefined reference to `strerror'
dict.o(.text+0x5c4): undefined reference to `fgets'
dict.o(.text+0x611): undefined reference to `strchr'
dict.o(.text+0x642): undefined reference to `strtok'
dict.o(.text+0x66b): undefined reference to `strtok'
dict.o(.text+0x6c5): undefined reference to `strcasecmp'
dict.o(.text+0x6e2): undefined reference to `strtok'
dict.o(.text+0x73f): undefined reference to `strcasecmp'
dict.o(.text+0x770): undefined reference to `strcasecmp'
dict.o(.text+0x7db): undefined reference to `sscanf'
dict.o(.text+0x88a): undefined reference to `strcpy'
dict.o(.text+0x89c): undefined reference to `__ctype_b'
dict.o(.text+0x8e8): undefined reference to `atoi'
dict.o(.text+0x917): undefined reference to `sscanf'
dict.o(.text+0x973): undefined reference to `strcasecmp'
dict.o(.text+0x9ef): undefined reference to `memset'
dict.o(.text+0xa06): undefined reference to `strtok'
dict.o(.text+0xa33): undefined reference to `strcmp'
dict.o(.text+0xa50): undefined reference to `strcmp'
dict.o(.text+0xa82): undefined reference to `strncmp'
dict.o(.text+0xaa1): undefined reference to `strncmp'
dict.o(.text+0xacb): undefined reference to `strtol'
dict.o(.text+0xb42): undefined reference to `strncmp'
dict.o(.text+0xb66): undefined reference to `strtol'
dict.o(.text+0xbc7): undefined reference to `strncmp'
dict.o(.text+0xc7b): undefined reference to `strtok'
dict.o(.text+0xd25): undefined reference to `strcasecmp'
dict.o(.text+0xd5b): undefined reference to `sscanf'
dict.o(.text+0xda0): undefined reference to `strcasecmp'
dict.o(.text+0xdbd): undefined reference to `__ctype_b'
dict.o(.text+0xe09): undefined reference to `atoi'
dict.o(.text+0xe37): undefined reference to `sscanf'
dict.o(.text+0xea5): undefined reference to `strcasecmp'
dict.o(.text+0xed1): undefined reference to `sscanf'
dict.o(.text+0xf0f): undefined reference to `__ctype_b'
dict.o(.text+0xf52): undefined reference to `atoi'
dict.o(.text+0xfd2): undefined reference to `strcasecmp'
dict.o(.text+0x1001): undefined reference to `sscanf'
dict.o(.text+0x10a1): undefined reference to `strcasecmp'
dict.o(.text+0x10d0): undefined reference to `sscanf'
dict.o(.text+0x11a0): undefined reference to `fclose'
dict.o: In function `dict_attrbyname':
dict.o(.text+0x12fc): undefined reference to `strcasecmp'
dict.o: In function `dict_valbyname':
dict.o(.text+0x13af): undefined reference to `strcasecmp'
dict.o: In function `dict_vendorname':
dict.o(.text+0x13fc): undefined reference to `strcasecmp'
print.o: In function `librad_safeprint':
print.o(.text+0x28): undefined reference to `strlen'
print.o(.text+0xf7): undefined reference to `snprintf'
print.o: In function `vp_prints_value':
print.o(.text+0x20e): undefined reference to `strcat'
print.o(.text+0x259): undefined reference to `strcat'
print.o(.text+0x2f5): undefined reference to `snprintf'
print.o(.text+0x359): undefined reference to `snprintf'
print.o(.text+0x395): undefined reference to `gmtime_r'
print.o(.text+0x3b1): undefined reference to `strftime'
print.o(.text+0x3d2): undefined reference to `gmtime_r'
print.o(.text+0x3ee): undefined reference to `strftime'
print.o(.text+0x490): undefined reference to `strcpy'
print.o(.text+0x4e1): undefined reference to `sprintf'
print.o(.text+0x541): undefined reference to `strlen'
print.o: In function `vp_prints':
print.o(.text+0x578): undefined reference to `strlen'
print.o(.text+0x5bc): undefined reference to `snprintf'
print.o(.text+0x5cb): undefined reference to `strlen'
print.o(.text+0x609): undefined reference to `snprintf'
print.o(.text+0x618): undefined reference to `strlen'
print.o(.text+0x64a): undefined reference to `strlen'
print.o: In function `vp_print':
print.o(.text+0x68f): undefined reference to `fputs'
print.o: In function `vp_printlist':
print.o(.text+0x6b5): undefined reference to `fprintf'
print.o(.text+0x6dc): undefined reference to `fprintf'
radius.o: In function `rad_send':
radius.o(.text+0x8b): undefined reference to `memset'
radius.o(.text+0xa8): undefined reference to `memcpy'
radius.o(.text+0xed): undefined reference to `printf'
radius.o(.text+0x175): undefined reference to `memset'
radius.o(.text+0x208): undefined reference to `htonl'
radius.o(.text+0x224): undefined reference to `memcpy'
radius.o(.text+0x24b): undefined reference to `htonl'
radius.o(.text+0x267): undefined reference to `memcpy'
radius.o(.text+0x30d): undefined reference to `strcmp'
radius.o(.text+0x327): undefined reference to `strcmp'
radius.o(.text+0x365): undefined reference to `memcpy'
radius.o(.text+0x455): undefined reference to `memcpy'
radius.o(.text+0x4f4): undefined reference to `htonl'
radius.o(.text+0x50f): undefined reference to `htonl'
radius.o(.text+0x537): undefined reference to `memcpy'
radius.o(.text+0x562): undefined reference to `putchar'
radius.o(.text+0x571): undefined reference to `stdout'
radius.o(.text+0x584): undefined reference to `putchar'
radius.o(.text+0x5b8): undefined reference to `malloc'
radius.o(.text+0x609): undefined reference to `memcpy'
radius.o(.text+0x622): undefined reference to `htons'
radius.o(.text+0x642): undefined reference to `memcpy'
radius.o(.text+0x651): undefined reference to `strlen'
radius.o(.text+0x6b2): undefined reference to `memcpy'
radius.o(.text+0x6d8): undefined reference to `memset'
radius.o(.text+0x724): undefined reference to `memcpy'
radius.o(.text+0x73f): undefined reference to `memcpy'
radius.o(.text+0x783): undefined reference to `strlen'
radius.o(.text+0x7c7): undefined reference to `memcpy'
radius.o(.text+0x7df): undefined reference to `memcpy'
radius.o(.text+0x82d): undefined reference to `memcpy'
radius.o(.text+0x84e): undefined reference to `memset'
radius.o(.text+0x89a): undefined reference to `memcpy'
radius.o(.text+0x8b5): undefined reference to `memcpy'
radius.o(.text+0x901): undefined reference to `printf'
radius.o(.text+0x92f): undefined reference to `putchar'
radius.o(.text+0x93e): undefined reference to `stdout'
radius.o(.text+0x951): undefined reference to `putchar'
radius.o(.text+0x982): undefined reference to `memset'
radius.o(.text+0x9a9): undefined reference to `htons'
radius.o(.text+0x9db): undefined reference to `sendto'
radius.o: In function `calc_acctdigest':
radius.o(.text+0xa03): undefined reference to `memset'
radius.o(.text+0xa1b): undefined reference to `memcmp'
radius.o(.text+0xa52): undefined reference to `memset'
radius.o(.text+0xa90): undefined reference to `strlen'
radius.o(.text+0xad1): undefined reference to `memcmp'
radius.o: In function `calc_replydigest':
radius.o(.text+0xb1a): undefined reference to `memcpy'
radius.o(.text+0xb58): undefined reference to `strlen'
radius.o(.text+0xb9c): undefined reference to `memcpy'
radius.o(.text+0xbb7): undefined reference to `memcmp'
radius.o: In function `rad_recv':
radius.o(.text+0xbf7): undefined reference to `malloc'
radius.o(.text+0xc1c): undefined reference to `__errno_location'
radius.o(.text+0xc3d): undefined reference to `memset'
radius.o(.text+0xc57): undefined reference to `memset'
radius.o(.text+0xc7c): undefined reference to `recvfrom'
radius.o(.text+0xc9b): undefined reference to `__errno_location'
radius.o(.text+0xca7): undefined reference to `strerror'
radius.o(.text+0xcc6): undefined reference to `free'
radius.o(.text+0xcee): undefined reference to `ntohs'
radius.o(.text+0xd44): undefined reference to `free'
radius.o(.text+0xd6c): undefined reference to `memcpy'
radius.o(.text+0xd7c): undefined reference to `ntohs'
radius.o(.text+0xdd1): undefined reference to `free'
radius.o(.text+0xe49): undefined reference to `free'
radius.o(.text+0xe98): undefined reference to `free'
radius.o(.text+0xf25): undefined reference to `free'
radius.o(.text+0xf85): undefined reference to `free'
radius.o(.text+0xfa7): undefined reference to `memcpy'
radius.o(.text+0xfb9): undefined reference to `ntohl'
radius.o(.text+0x101b): undefined reference to `free'
radius.o(.text+0x10a5): undefined reference to `free'
radius.o(.text+0x110a): undefined reference to `free'
radius.o(.text+0x1177): undefined reference to `free'
radius.o(.text+0x11cc): undefined reference to `free'
radius.o(.text+0x1232): more undefined references to `free' follow
radius.o: In function `rad_recv':
radius.o(.text+0x129a): undefined reference to `printf'
radius.o(.text+0x12d1): undefined reference to `printf'
radius.o(.text+0x12ed): undefined reference to `printf'
radius.o(.text+0x1321): undefined reference to `memcpy'
radius.o(.text+0x1333): undefined reference to `malloc'
radius.o(.text+0x1352): undefined reference to `free'
radius.o(.text+0x1389): undefined reference to `memcpy'
radius.o: In function `rad_decode':
radius.o(.text+0x1401): undefined reference to `memcpy'
radius.o(.text+0x1417): undefined reference to `memset'
radius.o(.text+0x1454): undefined reference to `memcpy'
radius.o(.text+0x146f): undefined reference to `strlen'
radius.o(.text+0x14a1): undefined reference to `memcmp'
radius.o(.text+0x14f2): undefined reference to `memcpy'
radius.o(.text+0x1510): undefined reference to `memcpy'
radius.o(.text+0x16d0): undefined reference to `memcpy'
radius.o(.text+0x16df): undefined reference to `ntohl'
radius.o(.text+0x1712): undefined reference to `memcpy'
radius.o(.text+0x1721): undefined reference to `ntohl'
radius.o(.text+0x1794): undefined reference to `malloc'
radius.o(.text+0x17c8): undefined reference to `__errno_location'
radius.o(.text+0x17ef): undefined reference to `memset'
radius.o(.text+0x1820): undefined reference to `snprintf'
radius.o(.text+0x183f): undefined reference to `strcpy'
radius.o(.text+0x18bd): undefined reference to `strcmp'
radius.o(.text+0x18d7): undefined reference to `strcmp'
radius.o(.text+0x1918): undefined reference to `memcpy'
radius.o(.text+0x1934): undefined reference to `strlen'
radius.o(.text+0x19c8): undefined reference to `memcpy'
radius.o(.text+0x19e4): undefined reference to `memcpy'
radius.o(.text+0x1a4a): undefined reference to `memcpy'
radius.o(.text+0x1a6e): undefined reference to `memcpy'
radius.o(.text+0x1a86): undefined reference to `ntohl'
radius.o(.text+0x1b01): undefined reference to `printf'
radius.o(.text+0x1b10): undefined reference to `free'
radius.o(.text+0x1b35): undefined reference to `putchar'
radius.o(.text+0x1b44): undefined reference to `stdout'
radius.o(.text+0x1b57): undefined reference to `putchar'
radius.o: In function `rad_pwencode':
radius.o(.text+0x1c23): undefined reference to `strlen'
radius.o(.text+0x1cd9): undefined reference to `strlen'
radius.o(.text+0x1cfc): undefined reference to `memcpy'
radius.o(.text+0x1d1c): undefined reference to `memcpy'
radius.o(.text+0x1e06): undefined reference to `memcpy'
radius.o: In function `rad_pwdecode':
radius.o(.text+0x1ed3): undefined reference to `strlen'
radius.o(.text+0x1ef6): undefined reference to `memcpy'
radius.o(.text+0x1f16): undefined reference to `memcpy'
radius.o(.text+0x1f51): undefined reference to `memcpy'
radius.o(.text+0x2062): undefined reference to `memcpy'
radius.o: In function `rad_tunnel_pwencode':
radius.o(.text+0x2266): undefined reference to `strlen'
radius.o(.text+0x2289): undefined reference to `memcpy'
radius.o(.text+0x22d5): undefined reference to `memcpy'
radius.o(.text+0x22fb): undefined reference to `memcpy'
radius.o(.text+0x234b): undefined reference to `memcpy'
radius.o: In function `rad_tunnel_pwdecode':
radius.o(.text+0x2462): undefined reference to `strlen'
radius.o(.text+0x2485): undefined reference to `memcpy'
radius.o(.text+0x24c2): undefined reference to `memcpy'
radius.o(.text+0x24e8): undefined reference to `memcpy'
radius.o(.text+0x2530): undefined reference to `memcpy'
radius.o: In function `rad_chap_encode':
radius.o(.text+0x2726): undefined reference to `memcpy'
radius.o(.text+0x2780): more undefined references to `memcpy' follow
radius.o: In function `random_vector':
radius.o(.text+0x2806): undefined reference to `open'
radius.o(.text+0x282f): undefined reference to `printf'
radius.o(.text+0x2850): undefined reference to `fcntl'
radius.o(.text+0x2867): undefined reference to `read'
radius.o(.text+0x2892): undefined reference to `printf'
radius.o(.text+0x28b9): undefined reference to `time'
radius.o(.text+0x28c3): undefined reference to `getpid'
radius.o(.text+0x28ce): undefined reference to `srand'
radius.o(.text+0x28e9): undefined reference to `rand'
radius.o: In function `rad_alloc':
radius.o(.text+0x2988): undefined reference to `malloc'
radius.o(.text+0x29bc): undefined reference to `memset'
radius.o: In function `rad_free':
radius.o(.text+0x2a0e): undefined reference to `free'
radius.o(.text+0x2a38): undefined reference to `free'
radius.o: In function `make_secret':
radius.o(.text+0x2a5e): undefined reference to `strlen'
radius.o(.text+0x2a7c): undefined reference to `memcpy'
radius.o(.text+0x2a9c): undefined reference to `memcpy'
radius.o(.text+0x2ad5): undefined reference to `memset'
valuepair.o: In function `paircreate':
valuepair.o(.text+0xf): undefined reference to `malloc'
valuepair.o(.text+0x4f): undefined reference to `memset'
valuepair.o(.text+0x98): undefined reference to `strcpy'
valuepair.o(.text+0xb2): undefined reference to `sprintf'
valuepair.o: In function `pairfree':
valuepair.o(.text+0x134): undefined reference to `free'
valuepair.o: In function `pairdelete':
valuepair.o(.text+0x1cf): undefined reference to `free'
valuepair.o: In function `paircopy2':
valuepair.o(.text+0x299): undefined reference to `malloc'
valuepair.o(.text+0x2d5): undefined reference to `memcpy'
valuepair.o: In function `pairmove':
valuepair.o(.text+0x4c8): undefined reference to `strcmp'
valuepair.o: In function `mystrtok':
valuepair.o(.text+0x72f): undefined reference to `strchr'
valuepair.o(.text+0x783): undefined reference to `strchr'
valuepair.o: In function `gettime':
valuepair.o(.text+0x7d5): undefined reference to `time'
valuepair.o(.text+0x7e8): undefined reference to `localtime_r'
valuepair.o(.text+0x82b): undefined reference to `__ctype_b'
valuepair.o(.text+0x848): undefined reference to `tolower'
valuepair.o(.text+0x922): undefined reference to `strncasecmp'
valuepair.o(.text+0x963): undefined reference to `atoi'
valuepair.o(.text+0x998): undefined reference to `atoi'
valuepair.o(.text+0x9cd): undefined reference to `mktime'
valuepair.o: In function `pairmake':
valuepair.o(.text+0xa08): undefined reference to `strrchr'
valuepair.o(.text+0xa52): undefined reference to `strtol'
valuepair.o(.text+0xac9): undefined reference to `malloc'
valuepair.o(.text+0xb03): undefined reference to `memset'
valuepair.o(.text+0xb44): undefined reference to `strcpy'
valuepair.o(.text+0xb97): undefined reference to `free'
valuepair.o(.text+0xbd0): undefined reference to `printf'
valuepair.o(.text+0xc0f): undefined reference to `strtol'
valuepair.o(.text+0xc92): undefined reference to `strlen'
valuepair.o(.text+0xcc1): undefined reference to `strrchr'
valuepair.o(.text+0xce4): undefined reference to `strdup'
valuepair.o(.text+0xd00): undefined reference to `strrchr'
valuepair.o(.text+0xd7c): undefined reference to `free'
valuepair.o(.text+0xd93): undefined reference to `__ctype_b'
valuepair.o(.text+0xdad): undefined reference to `atoi'
valuepair.o(.text+0xdf1): undefined reference to `free'
valuepair.o(.text+0xe64): undefined reference to `free'
valuepair.o(.text+0xecb): undefined reference to `free'
valuepair.o(.text+0xefe): undefined reference to `strncasecmp'
valuepair.o(.text+0xf49): undefined reference to `sscanf'
valuepair.o(.text+0xf93): undefined reference to `strlen'
valuepair.o(.text+0xfbd): undefined reference to `free'
token.o: In function `getthing':
token.o(.text+0x27): undefined reference to `__ctype_b'
token.o(.text+0xbe): undefined reference to `strcpy'
token.o(.text+0xcf): undefined reference to `strlen'
token.o(.text+0xeb): undefined reference to `__ctype_b'
token.o(.text+0x201): undefined reference to `sscanf'
token.o(.text+0x281): undefined reference to `__ctype_b'
token.o(.text+0x333): undefined reference to `__ctype_b'
misc.o: In function `ip_hostname':
misc.o(.text+0x57): undefined reference to `gethostbyaddr_r'
misc.o(.text+0x6e): undefined reference to `strlen'
misc.o: In function `ip_getaddr':
misc.o(.text+0xe4): undefined reference to `htonl'
misc.o(.text+0x108): undefined reference to `gethostbyname'
misc.o(.text+0x120): undefined reference to `htonl'
misc.o(.text+0x13f): undefined reference to `htonl'
misc.o(.text+0x163): undefined reference to `memcpy'
misc.o: In function `ip_ntoa':
misc.o(.text+0x182): undefined reference to `ntohl'
misc.o(.text+0x1ca): undefined reference to `sprintf'
misc.o: In function `ip_addr':
misc.o(.text+0x1ee): undefined reference to `inet_aton'
misc.o: In function `strNcpy':
misc.o(.text+0x230): undefined reference to `strncpy'
misc.o: In function `rad_lowercase':
misc.o(.text+0x28b): undefined reference to `__ctype_b'
misc.o(.text+0x2a8): undefined reference to `tolower'
misc.o: In function `rad_rmspace':
misc.o(.text+0x2f3): undefined reference to `__ctype_b'
misc.o: In function `rad_lockfd':
misc.o(.text+0x340): undefined reference to `lockf'
misc.o: In function `rad_unlockfd':
misc.o(.text+0x368): undefined reference to `lockf'
log.o: In function `librad_log':
log.o(.text+0x24): undefined reference to `vsnprintf'
log.o(.text+0x3b): undefined reference to `strcpy'
log.o: In function `librad_perror':
log.o(.text+0x5c): undefined reference to `stderr'
log.o(.text+0x62): undefined reference to `vfprintf'
log.o(.text+0x73): undefined reference to `strchr'
log.o(.text+0x89): undefined reference to `stderr'
log.o(.text+0x8f): undefined reference to `fprintf'
log.o(.text+0xa4): undefined reference to `stderr'
log.o(.text+0xaa): undefined reference to `fprintf'
filters.o: In function `findKey':
filters.o(.text+0xe): undefined reference to `strlen'
filters.o(.text+0x3b): undefined reference to `__ctype_b'
filters.o(.text+0x58): undefined reference to `tolower'
filters.o(.text+0xae): undefined reference to `strcmp'
filters.o: In function `isAllDigit':
filters.o(.text+0xe2): undefined reference to `strlen'
filters.o(.text+0x10b): undefined reference to `__ctype_b'
filters.o: In function `a2octet':
filters.o(.text+0x15e): undefined reference to `strlen'
filters.o(.text+0x1af): undefined reference to `memset'
filters.o(.text+0x200): undefined reference to `__ctype_b'
filters.o: In function `defaultNetmask':
filters.o(.text+0x2f9): undefined reference to `htonl'
filters.o(.text+0x31c): undefined reference to `htonl'
filters.o(.text+0x335): undefined reference to `htonl'
filters.o(.text+0x359): undefined reference to `htonl'
filters.o(.text+0x372): undefined reference to `htonl'
filters.o: In function `ipAddressStringToValue':
filters.o(.text+0x400): undefined reference to `strchr'
filters.o(.text+0x45e): undefined reference to `strtol'
filters.o(.text+0x4bb): undefined reference to `strtol'
filters.o: In function `stringToNode':
filters.o(.text+0x52b): undefined reference to `strchr'
filters.o(.text+0x545): undefined reference to `strchr'
filters.o(.text+0x56b): undefined reference to `strlen'
filters.o(.text+0x57d): undefined reference to `strlen'
filters.o: In function `parseIpxFilter':
filters.o(.text+0x66c): undefined reference to `strtok'
filters.o(.text+0x684): undefined reference to `memset'
filters.o(.text+0x72b): undefined reference to `strtok'
filters.o(.text+0x74f): undefined reference to `strtol'
filters.o(.text+0x75d): undefined reference to `ntohl'
filters.o(.text+0x77c): undefined reference to `strtol'
filters.o(.text+0x78a): undefined reference to `ntohl'
filters.o(.text+0x7b0): undefined reference to `strtok'
filters.o(.text+0x810): undefined reference to `strtok'
filters.o(.text+0x852): undefined reference to `strtok'
filters.o(.text+0x87f): undefined reference to `strtol'
filters.o(.text+0x890): undefined reference to `ntohs'
filters.o(.text+0x8b9): undefined reference to `strtol'
filters.o(.text+0x8ca): undefined reference to `ntohs'
filters.o(.text+0x8ef): undefined reference to `strtok'
filters.o: In function `parseIpFilter':
filters.o(.text+0x94c): undefined reference to `strtok'
filters.o(.text+0x964): undefined reference to `memset'
filters.o(.text+0xa0b): undefined reference to `strtok'
filters.o(.text+0xa9f): undefined reference to `strtok'
filters.o(.text+0xae1): undefined reference to `strtok'
filters.o(.text+0xb14): undefined reference to `atoi'
filters.o(.text+0xb5c): undefined reference to `htons'
filters.o(.text+0xb82): undefined reference to `htons'
filters.o(.text+0xbed): undefined reference to `atoi'
filters.o(.text+0xc54): undefined reference to `strtok'
filters.o: In function `parseGenericFilter':
filters.o(.text+0xc9b): undefined reference to `strtok'
filters.o(.text+0xcb9): undefined reference to `memset'
filters.o(.text+0xd86): undefined reference to `htons'
filters.o(.text+0xde1): undefined reference to `atoi'
filters.o(.text+0xdf2): undefined reference to `htons'
filters.o(.text+0xe9a): undefined reference to `htons'
filters.o(.text+0xedb): undefined reference to `strtok'
filters.o: In function `filterBinary':
filters.o(.text+0xf21): undefined reference to `strdup'
filters.o(.text+0xf4d): undefined reference to `strtok'
filters.o(.text+0x100c): undefined reference to `free'
filters.o(.text+0x1028): undefined reference to `free'
filters.o(.text+0x10e7): undefined reference to `memcpy'
filters.o: In function `print_abinary':
filters.o(.text+0x115e): undefined reference to `strcpy'
filters.o(.text+0x119b): undefined reference to `sprintf'
filters.o(.text+0x11c6): undefined reference to `memcpy'
filters.o(.text+0x1235): undefined reference to `snprintf'
filters.o(.text+0x127d): undefined reference to `snprintf'
filters.o(.text+0x12c2): undefined reference to `snprintf'
filters.o(.text+0x1307): undefined reference to `snprintf'
filters.o(.text+0x1331): undefined reference to `ntohs'
filters.o(.text+0x1366): undefined reference to `snprintf'
filters.o(.text+0x1390): undefined reference to `ntohs'
filters.o(.text+0x13c5): undefined reference to `snprintf'
filters.o(.text+0x13f4): undefined reference to `snprintf'
filters.o(.text+0x144e): undefined reference to `ntohl'
filters.o(.text+0x1468): undefined reference to `snprintf'
filters.o(.text+0x1492): undefined reference to `ntohs'
filters.o(.text+0x14c7): undefined reference to `snprintf'
filters.o(.text+0x1512): undefined reference to `ntohl'
filters.o(.text+0x152c): undefined reference to `snprintf'
filters.o(.text+0x1556): undefined reference to `ntohs'
filters.o(.text+0x158b): undefined reference to `snprintf'
filters.o(.text+0x15c5): undefined reference to `snprintf'
filters.o(.text+0x15ed): undefined reference to `ntohs'
filters.o(.text+0x161b): undefined reference to `snprintf'
filters.o(.text+0x1645): undefined reference to `strcpy'
filters.o(.text+0x1669): undefined reference to `ntohs'
filters.o(.text+0x1699): undefined reference to `snprintf'
filters.o(.text+0x16d7): undefined reference to `snprintf'
hmac.o: In function `lrad_hmac_md5':
hmac.o(.text+0x75): undefined reference to `memset'
hmac.o(.text+0x8b): undefined reference to `memset'
hmac.o(.text+0xa5): undefined reference to `memcpy'
hmac.o(.text+0xbf): undefined reference to `memcpy'
make[4]: [radius.a] Error 1 (ignored)
make[4]: Leaving directory `/home/pk/cvs/freeradius/radiusd/src/lib'
Making all in modules...
make[4]: Entering directory `/home/pk/cvs/freeradius/radiusd/src/modules'
make[5]: Entering directory `/home/pk/cvs/freeradius/radiusd/src/modules'
Making static dynamic in rlm_acct_unique...
make[6]: Entering directory 
`/home/pk/cvs/freeradius/radiusd/src/modules/rlm_acct_unique'
cc -I../../include  -c rlm_acct_unique.c -o rlm_acct_unique.o
In file included from rlm_acct_unique.c:27:
../../include/radiusd.h:11: radpaths.h: No such file or directory
make[6]: *** [rlm_acct_unique.o] Error 1
make[6]: Leaving directory 
`/home/pk/cvs/freeradius/radiusd/src/modules/rlm_acct_unique'
make[5]: *** [common] Error 1
make[5]: Leaving directory `/home/pk/cvs/freeradius/radiusd/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/pk/cvs/freeradius/radiusd/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/home/pk/cvs/freeradius/radiusd/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/pk/cvs/freeradius/radiusd/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/home/pk/cvs/freeradius/radiusd'
make: *** [all] Error 2

Reply via email to