libc6 include files?
when trying to build the Samba package on a machine that is set up
to build libc6 packages (libc6-dev 2.0.4-1), I get these errors:
/usr/include/asm/signal.h:83: warning: `SIG_IGN' redefined
/usr/include/signum.h:25: warning: this is the location of the
/usr/include/asm/signal.h:84: warning: `SIG_ERR' redefined
/usr/include/signum.h:23: warning: this is the location of the
In file included from includes.h:218,
/usr/include/asm/signal.h:4: conflicting types for `sigset_t'
/usr/include/signal.h:164: previous declaration of `sigset_t'
/usr/include/asm/signal.h:80: warning: redefinition of `__sighandler_t'
/usr/include/signal.h:48: warning: `__sighandler_t' previously declared here
/usr/include/asm/signal.h:86: redefinition of `struct sigaction'
make: *** [server.o] Error 1
make: Leaving directory `/usr/src/samba-1.9.17/source'
make: *** [build] Error 2
The file /usr/src/linux/README in the Linux kernel says this:
- make sure your /usr/include/asm, /usr/include/linux, and /usr/include/scsi
directories are just symlinks to the kernel sources:
rm -rf asm linux scsi
ln -s /usr/src/linux/include/asm-i386 asm
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/scsi scsi
but my understanding is that this is not a good practice.
My questions are:
1) How should I proceed to be able to compile this libc6 version of the
2) How should I handle the dirs. asm, linux and scsi in /usr/include?
Eloy A. Paris
Information Technology Department
Rockwell Automation de Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .