Results 1 to 1 of 1
Thread: Compiling dpkg
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2006
- Minnesota, USA
I'm currently running Slackware 12.0, and I'm trying to compile dpkg so I can try to convert Slackware to deb packages, but trying to compile dpkg gives these errors:
processarc.o: In function `process_archive': processarc.c:(.text+0x3b0): warning: the use of `tmpnam' is dangerous, better use `mkstemp' archives.o: In function `tarobject': archives.c:(.text+0x2357): undefined reference to `matchpathcon' archives.c:(.text+0x237c): undefined reference to `setfscreatecon' archives.c:(.text+0x27cb): undefined reference to `setfscreatecon' archives.c:(.text+0x27e0): undefined reference to `freecon' archives.c:(.text+0x2821): undefined reference to `setfscreatecon' archives.c:(.text+0x2bd8): undefined reference to `is_selinux_enabled' collect2: ld returned 1 exit status make: *** [dpkg] Error 1 make: Leaving directory `/home/i80and/marine-build/dpkg/dpkg-1.13.25/src' make: *** [all-recursive] Error 1 make: Leaving directory `/home/i80and/marine-build/dpkg/dpkg-1.13.25' make: *** [all] Error 2
./configure --with-bz2 --with-zlib --with-selinux --prefix=/usr
export CFLAGS='-O2 -mcpu=i486 -mtune=i686'
Edit: Never mind. It would have been nice to know, but I've switched to Debian anyway.
Last edited by i80and; 08-10-2007 at 06:10 PM. Reason: Void question