OpenBSD compile issue
list Lee J. Imber
Hi Group. Just downloaded 4.0.4 and tried to compile on OpenBSD 3.7 and got this at the bottom of the gmake UMBER=1984 -I. -I/home/lee/Hobbit/hobbit-4.0.4/include -o bbdigest - Wl,--rpath=/usr/local/lib -Wl,--rpath=/usr/local/lib bbdigest.o ../ lib/libbbgen.a ld: invalid command option `--rpath=/usr/local/lib' collect2: ld returned 1 exit status gmake[1]: *** [bbdigest] Error 1 gmake[1]: Leaving directory `/home/lee/Hobbit/hobbit-4.0.4/common' gmake: *** [common-build] Error 2 $ Any ideas? Thanks, Lee
list Henrik Størner
▸
On Tue, May 31, 2005 at 05:54:48PM -0400, Lee J. Imber wrote:
Just downloaded 4.0.4 and tried to compile on OpenBSD 3.7 and got this at the bottom of the gmake UMBER=1984 -I. -I/home/lee/Hobbit/hobbit-4.0.4/include -o bbdigest - Wl,--rpath=/usr/local/lib -Wl,--rpath=/usr/local/lib bbdigest.o ../ lib/libbbgen.a ld: invalid command option `--rpath=/usr/local/lib'
Thanks for the report. I had naively assumed that OpenBSD and FreeBSD would behave identically when it came to valid options for the linker. Apparently, that is not the case. Just remove the RPATH setting in build/Makefile.OpenBSD. Regards, Henrik
list Lee J. Imber
Perfect. Thanks, L.
▸
On Jun 1, 2005, at 1:24 AM, Henrik Stoerner wrote:
On Tue, May 31, 2005 at 05:54:48PM -0400, Lee J. Imber wrote:Just downloaded 4.0.4 and tried to compile on OpenBSD 3.7 and got this at the bottom of the gmake UMBER=1984 -I. -I/home/lee/Hobbit/hobbit-4.0.4/include -o bbdigest - Wl,--rpath=/usr/local/lib -Wl,--rpath=/usr/local/lib bbdigest.o ../ lib/libbbgen.a ld: invalid command option `--rpath=/usr/local/lib'Thanks for the report. I had naively assumed that OpenBSD and FreeBSD would behave identically when it came to valid options for the linker. Apparently, that is not the case. Just remove the RPATH setting in build/Makefile.OpenBSD. Regards, Henrik