Results 1 to 1 of 1
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 ...
- 08-09-2007 #1Just Joined!
- Join Date
- Nov 2006
- Location
- Minnesota, USA
- Posts
- 39
Compiling dpkg
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 withCode: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[2]: *** [dpkg] Error 1 make[2]: Leaving directory `/home/i80and/marine-build/dpkg/dpkg-1.13.25/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/i80and/marine-build/dpkg/dpkg-1.13.25' make: *** [all] Error 2
My CFLAGS env variable wasCode:./configure --with-bz2 --with-zlib --with-selinux --prefix=/usr
Any help would be most appreciated.Code: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


Reply With Quote
