[Hamlib-developer] CVS compilation problem
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Nate B. <n0...@ne...> - 2002-10-23 23:19:36
|
Hi all.
I'm tinkering with Hamlib a bit as I'm also tinkering with the TLF
logging program. I'm having trouble getting register.c to compile.
Here is the output:
register.c: In function `rig_load_backend':
register.c:297: `HAMLIB_MODULE_DIR' undeclared (first use in this
function)
register.c:297: (Each undeclared identifier is reported only once
register.c:297: for each function it appears in.)
make[1]: *** [register.lo] Error 1
Okay, so I locate the appriate line in src/register.c:
lt_dladdsearchdir(HAMLIB_MODULE_DIR);
Okay, nothing spectacular there so I did a grep for HAMLIB_MODULE_DIR
and find it is defined in src/Makefile at line 112:
libhamlib_la_CFLAGS = -DIN_HAMLIB $(AM_CFLAGS)
-DHAMLIB_MODULE_DIR=\"$(libdir)\"
Looking through the gcc man page I see that HAMLIB_MODULE_DIR is being
defined as a macro with the value of /usr/local/lib yet I am unclear as
to just how this makes it onto the gcc command line as the one in my
rxvt makes no sense!
I've built the configuration per the directions in README.betatester and
README.developer as I'd like to try and add my FT-920 to Hamlib. But I
first wanted to be sure that things build before mucking around.
73, de Nate >>
--
Wireless | Amateur Radio Station N0NB | "We have awakened a
Internet | n0...@ne... | sleeping giant and
Location | Bremen, Kansas USA EM19ov | have instilled in him
Amateur radio exams; ham radio; Linux info @ | a terrible resolve".
http://www.qsl.net/n0nb/ | - Admiral Yamomoto
|