[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem building xfree3.3.6



Hello,
I'm trying to build xfree 3.3.6-8 from source debs on a COMPAQ Armada
1750 with slink R4 installed few days ago, no packages upgraded.

I start the build with debian/rules binary and the compilation aborts
complaining about S_IRUSR and S_IWUSR undeclared, but they are declared
in linux/stat.h, linux/sysv_fs.h and sys/stat.h. gcc es 2.7.2.3, and g++
is egcs-2.91.66.

What I'm doing wrong?


Thanks in advance.

[...]
gcc -c -O2 -g -Wall -ansi -pedantic    -I../.. -I../../exports/include 
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE   -DFUNCPROTO=15
-DNARROWPROTO    process.c
process.c: In function `get_displayname_auth':
process.c:484: warning: implicit declaration of function
`parse_displayname'
process.c: In function `auth_initialize':
process.c:733: warning: implicit declaration of function `umask'
process.c: In function `write_auth_file':
process.c:786: `S_IRUSR' undeclared (first use this function)
process.c:786: (Each undeclared identifier is reported only once
process.c:786: for each function it appears in.)
process.c:786: `S_IWUSR' undeclared (first use this function)
process.c: In function `fprintfhex':
process.c:921: warning: `hex' might be used uninitialized in this
function
process.c: At top level:
process.c:929: warning: return-type defaults to `int'
process.c: In function `do_generate':
process.c:1854: warning: int format, long int arg (arg 2)
make[5]: *** [process.o] Error 1
make[5]: Leaving directory
`/usr/src/xfree/xfree86-1-3.3.6/build-tree/xc/programs/xauth'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/usr/src/xfree/xfree86-1-3.3.6/build-tree/xc/programs'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/usr/src/xfree/xfree86-1-3.3.6/build-tree/xc'
make[2]: *** [World] Error 2
make[2]: Leaving directory
`/usr/src/xfree/xfree86-1-3.3.6/build-tree/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory
`/usr/src/xfree/xfree86-1-3.3.6/build-tree/xc'
make: *** [debian/stampdir/build-libc6] Error 2


-- 
                                  ////
                                 (@ @)
---------------------------oOO----(_)----OOo------------------------
        Los pecados de los tres mundos desapareceran conmigo.
Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)
--------------------------------------------------------------------



Reply to: