Re: [Hamlib-developer] Compiling Failure in Opensolaris
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Thomas B. <tb...@fo...> - 2008-12-02 20:04:06
|
Hi Gary, in the meantime I have installed OpenSolaris in a virtual machine and tested by myself. I can confirm your problem. I found the reason for the error, can provide a quick fix, but have no final solution yet. On Sun, Nov 30, 2008 at 01:38:49PM -0700, ba...@da... wrote: > ld: elf error: file ../lib/.libs/libmisc.a: elf_getarsym First the reason: The error comes from linking in an empty library. libmisc.a contains replacement functions which are not available for that system. The autoconf, as it works in the moment, includes every time the 'termios.c' file from lib subdir. But that file gets only compiled for Win32 os versions. So libmisc.a contains only one but empty file - 'termios.o'. The sun linker doe not like that - gcc's ld is more tolerant. Second the quick fix: Delete or comment out line 170 from 'configure.ac' (AC_LIBOBJ(termios)). Afterwards do a 'make clean', 'autoreconf', './configure' and 'make'. At my side all gets build. 'rigctl' works at least for the dummy backend (after a 'make install' as root). Please test it with a real rig. Good luck and please give feedback. Tom DL1JBE. P.S.: I used OpenSolaris 2008.5 but hope it will work also for 2008.11 -- "Do what is needful!" Ursula LeGuin: Earthsea -- |