image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old November 14th, 2007, 11:40 AM
Registered User
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
prussic_acid is on a distinguished road
Question error compiling gnuplot with aqua

hey,

hopefully somebody is able to help.
I already had gnuplot installed once but back then I used a binary.
Now I am trying to compile it from the latest sources myself.
I installed aqua and ran the ./configure command. So far so good.
But when I run the make command there comes up the following error after a while:

Undefined symbols:
"_rl_forced_update_display", referenced from:
_restore_prompt in command.o
"_rl_ding", referenced from:
_alert in mouse.o
"_history_list", referenced from:
_write_history_list in history.o
"_rl_complete_with_tilde_expansion", referenced from:
_rl_complete_with_tilde_expansion$non_lazy_ptr in plot.o
ld: symbol(s) not found

I have to note that I am a total newbie compiling something myself so I don't know what to do in cases like these where an error comes up.
So what I am asking is: Does anyone know what to do or does anyone have the same error and knows how to solve the problem?
And if none of the above applies maybe somebody knows where to start looking for the error (cause I simply don't know where to start, I hoped it would go through perfectly) or somebody can give me a link or something where I can read up about the issue.

All right thats it.
Thanks in advance.

By the way, the version of aqua is the latest v.1.0.1 and the gnuplot version is 4.2.2
Reply With Quote
  #2  
Old November 14th, 2007, 12:49 PM
Registered User
 
Join Date: Mar 2005
Posts: 197
Thanks: 0
Thanked 1 Time in 1 Post
artov is on a distinguished road
When I compile open source programs and get "Undefined symbols", I go to Google with the symbol name. In your case, both rl_forced_update_display and rl_complete_with_tilde_expansion seem to come from library readline. It comes with OS X (Xcode?), so try to add -lreadline to your linking line (I guess LDFLAGS macro or similar).
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 06:09 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.