Hi all I have been trying to get rpm-4.4.2.3 to compile under Cygwin. I'm almost there, I think, but am just getting stuck at the end. Please see the attached shell script.
The problem where it gets stuck is the final link of RPM, where it can't find the beecrypt libraries.... I've tried various variations, on "-l" options, but still no luck. DLLs.../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x3f3): undefined reference to `_b64encode_chars_per_line' ../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x3fc): undefined reference to `_b64encode_eolstr' ../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x404): undefined reference to `_b64encode_chars_per_line' ../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x413): undefined reference to `_b64encode_chars_per_line' ../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x41b): undefined reference to `_b64encode_chars_per_line' ../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x42a): undefined reference to `_b64encode_chars_per_line' ../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x438): undefined reference to `_b64encode_eolstr' ../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x5ff): undefined reference to `_b64encode_chars_per_line' ../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x608): undefined reference to `_b64encode_chars_per_line' ../lib/.libs/librpm.a(formats.o):formats.c:(.text+0x63e): undefined reference to `_b64encode_chars_per_line' /home/user/build/rpm-4.4.2.3/rpmio/.libs/librpmio.a(rpmsq.o):rpmsq.c:(.text+0xee): undefined reference to `_insque' /home/user/build/rpm-4.4.2.3/rpmio/.libs/librpmio.a(rpmsq.o):rpmsq.c:(.text+0x17d): undefined reference to `_remque' /home/user/build/rpm-4.4.2.3/rpmio/.libs/librpmio.a(rpmpgp.o):rpmpgp.c:(.text+0x2b95): undefined reference to `_b64encode_chars_per_line' /home/user/build/rpm-4.4.2.3/rpmio/.libs/librpmio.a(rpmpgp.o):rpmpgp.c:(.text+0x2b9e): undefined reference to `_b64encode_eolstr' /home/user/build/rpm-4.4.2.3/rpmio/.libs/librpmio.a(rpmpgp.o):rpmpgp.c:(.text+0x2ba6): undefined reference to `_b64encode_chars_per_line' /home/user/build/rpm-4.4.2.3/rpmio/.libs/librpmio.a(rpmpgp.o):rpmpgp.c:(.text+0x2bb5): undefined reference to `_b64encode_chars_per_line' /home/user/build/rpm-4.4.2.3/rpmio/.libs/librpmio.a(rpmpgp.o):rpmpgp.c:(.text+0x2bbd): undefined reference to `_b64encode_chars_per_line' /home/user/build/rpm-4.4.2.3/rpmio/.libs/librpmio.a(rpmpgp.o):rpmpgp.c:(.text+0x2bcc): undefined reference to `_b64encode_chars_per_line' /home/user/build/rpm-4.4.2.3/rpmio/.libs/librpmio.a(rpmpgp.o):rpmpgp.c:(.text+0x2bda): undefined reference to `_b64encode_eolstr' Anyone got any ideas? Also, any comments on the various hacks I've used to get this thing to compile would be appreciated. (It almost compiles, but will it run?) cheers Simon
build.sh
Description: Bourne shell script
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/