Jeff,

A follow up. I see in the make file there is a conditional for READLINE_LIBS
which was preventing halcmd_completion.c from compiling. I forced it, but
got a bunch more errors for a series of functions with names starting "rl_".

Regards,
Eric


Yea, I got past that point, it is the subsequent error I am having a little
trouble figuring out. 

>> 
hal/utils/halcmd_main.c:322: warning: implicit declaration of function
'halcmd_completer'

Followed by the link error:

In function 'main':hal/utils/halcmd_main.c:322: undefined reference to
'halcmd_completer'
<<


It looks like there is a discrepancy between halcmd_completion.c and the
associated header file. In the header there is an extern for hal_completer,
whereas in the c file there is a function defined as halcmd_completer, which
is what is called by halcmd_main.c. I fixed the header, and the warning went
away, but I am still getting an undefined reference error for
halcmd_completer. I am not sure what is up with that, I just started looking
into the submakefile to see if something is going on there either as far as
compile order or something unexpected with which object files are being
linked.

Regards,
Eric


Looks like I've inadvertently created a dependency on readline that's not
guarded by the usual #ifdef tests based on the outcome of configure.

If you already installed readline-dev this may be fixed after re-running
configure.

If building without readline support is important to you, you'll have to
work out how to fix it.  Otherwise, I'll add a configure-time check that
will error out if it's unavailable.

(on ubuntu, you can't get rid of readline without getting rid of a big chunk
of the desktop environment; on top of that, libreadline5-dev only adds one
meg of installed-size)

Jeff

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss
this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss
this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to