[uClibc]rpc/rcmd && _LIBC_REENTRANT

Axel Barnitzke barney at xkontor.com
Fri Feb 22 17:25:25 UTC 2002


Hi Eric,
does the libpthreads obsolete the
#ifdef _LIBC_REENTRANT and the __funcname_r()
handling in libc/inet/rpc/rcmd.c ?

this function won't compile when I enable
INCLUDE_RPC in the Config file :-(

make -C  rpc
make[3]: Entering directory `/home/barney/qt-embedded/uClibc/libc/inet/rpc'
gcc -Wall -Os  -march=i586 -mpreferred-stack-boundary=2 
-malign-functions=0 -malign-jumps=0 -malign-loops=0 -fno-builtin 
-nostdinc -pipe -nostdinc -I../../../include 
-I/usr/lib/gcc-lib/i486-suse-linux/2.95.3/include -I. -D_LIBC  -DNDEBUG 
  -fPIC -D_LIBC_REENTRANT -I../../../include/linux -c rcmd.c -o rcmd.o
rcmd.c:97: #error "Fix the alloca stuff"
rcmd.c:295: #error "Fix the alloca stuff!"
rcmd.c:405: #error "Fix the alloca stuff"
rcmd.c: In function `rcmd':
rcmd.c:101: warning: implicit declaration of function `__gethostbyname_r'
rcmd.c:106: warning: implicit declaration of function `__set_h_errno'
rcmd.c: In function `iruserok2':
rcmd.c:410: warning: implicit declaration of function `__getpwnam_r'



    -- Barney

--------------------------------------
++ axel (barney) barnitzke
++ it consultant
++ xkontor IT solutions


email :: mailto:barney at xkontor.com





More information about the uClibc mailing list