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

libc6 include files?



Hi,

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
previous definition
/usr/include/asm/signal.h:84: warning: `SIG_ERR' redefined
/usr/include/signum.h:23: warning: this is the location of the
previous definition
In file included from includes.h:218,
                 from server.c:22:
/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[1]: *** [server.o] Error 1
make[1]: 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:

                cd /usr/include
                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
Samba suite.

2) How should I handle the dirs. asm, linux and scsi in /usr/include?

Thanks,

E.-

-- 

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
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: