Xymon Mailing List Archive search

OpenBSD compile issue

3 messages in this thread

list Lee J. Imber · Tue, 31 May 2005 17:54:48 -0400 ·
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 · Wed, 1 Jun 2005 07:24:26 +0200 ·
quoted from Lee J. Imber
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 · Wed, 1 Jun 2005 12:43:05 -0400 ·
Perfect.

Thanks,

L.
quoted from Henrik Størner

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