[uClibc]BuildingTinyX

Christian MICHON christian_michon at yahoo.fr
Tue Aug 20 16:20:45 UTC 2002


> Some functions are trying to use crypt, but you have not linked
> the libcrypt into xdm.  Add a '-lcrypt' in and it should work,
Makes sense, of course. How could I miss this... :*

But building the cvs just now broke here: (with DO_C99_MATH = true and
HAS_LONG_LONG = false versus the standard Config.i386)

gcc -Wall -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os
-march=i386 -mpreferred-stack-boundary=2 -falign-functions=1 -falign-jumps=0
-falign-loops=0 -fno-builtin -nostdinc  -I../../include -iwithprefix include
-I. -D_LIBC  -DNDEBUG  -fPIC
-I../../libpthread/linuxthreads/sysdeps/unix/sysv/linux
-I../../libpthread/linuxthreads/sysdeps/pthread
-I../../libpthread/linuxthreads/sysdeps/unix/sysv
-I../../libpthread/linuxthreads/sysdeps/unix/unix
-I../../libpthread/linuxthreads/sysdeps/i386
-I../../libpthread/linuxthreads/sysdeps -I../../libc/sysdeps/linux/i386 -c
wrapsyscall.c -o wrapsyscall.o
wrapsyscall.c: In function `open':
wrapsyscall.c:114: `mode_t' is promoted to `int' when passed through `...'
wrapsyscall.c:114: (so you should pass `int' not `mode_t' to `va_arg')
make[2]: *** [wrapsyscall.o] Error 1
make[2]: Leaving directory `/tmp/uClibc/libpthread/linuxthreads'
make[1]: *** [_dir_linuxthreads] Error 2
make[1]: Leaving directory `/tmp/uClibc/libpthread'
make: *** [_dir_libpthread] Error 2

I'll try again tomorrow. It's getting late here.
Christian

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the uClibc mailing list