I had no clue where to post this question, but I figured this was my best bet. My sincere apologies if this was the wrong place.
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:
The configure script ran with no problems, being initialized with
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
My CFLAGS env variable was
./configure --with-bz2 --with-zlib --with-selinux --prefix=/usr
Any help would be most appreciated.
export CFLAGS='-O2 -mcpu=i486 -mtune=i686'
Edit: Never mind. It would have been nice to know, but I've switched to Debian anyway.