lkml.org 
[lkml]   [1996]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectPPPD 2.2.0e: Failing to compile under linux 1.3.84
My platform:

CPU: Pentium 100Mhz
GCC: 2.7.0
Kernel: 1.3.84
Binutils: 2.5.2
Libc: 5.0.9

I'm moving from 1.2.13 to 1.3.84 and up, and now I'm trying to compile
PPPD 2.2.0e, to get pppd daemon to comunicate with the new driver in the
kernel, but when compiling the source pppd/sys-linux.c I got the following:

cd chat; make all
make[1]: Entering directory `/usr/src/ppp-2.2.0e/chat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/ppp-2.2.0e/chat'
cd pppd; make all
make[1]: Entering directory `/usr/src/ppp-2.2.0e/pppd'
gcc -g -D_linux_=1 -DHAVE_PATHS_H -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o auth.o options.o sys-linux.o -lbsd -lc # -Wl,-M >pppd.map
sys-linux.o(.text+0x9cc): undefined reference to `__constant_c_and_count_memset'
sys-linux.o(.text+0x9e9): undefined reference to `__constant_c_memset'
sys-linux.o(.text+0xa09): undefined reference to `__memset_generic'
sys-linux.o(.text+0xa29): undefined reference to `__memset_generic'
sys-linux.o(.text+0xc0f): undefined reference to `__constant_c_and_count_memset'
sys-linux.o(.text+0xc29): undefined reference to `__constant_c_memset'
sys-linux.o(.text+0xc49): undefined reference to `__memset_generic'
sys-linux.o(.text+0xc69): undefined reference to `__memset_generic'
sys-linux.o(.text+0xe3f): undefined reference to `__constant_c_and_count_memset'
sys-linux.o(.text+0xe59): undefined reference to `__constant_c_memset'

-- more, more... ---

make[1]: *** [pppd] Error 1
make: *** [all] Error 2
make[1]: Leaving directory `/usr/src/ppp-2.2.0e/pppd'

I looked the preprocessed code and these "missing" functions where all
there, but the linker still keep complaining about... Maybe this inlined
functions only work with gcc 2.7.2?!?! any guesses??

Waiting for help...

Arnaldo Carvalho de Melo acme@conectiva.com.br
R&D Director http://conectiva.com.br
Conectiva Internet Solutions
Curitiba - Parana' - Brazil





\
 
 \ /
  Last update: 2005-03-22 13:37    [W:3.895 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site