Operating System - HP-UX
1748011 Members
4040 Online
108757 Solutions
New Discussion юеВ

gcc link of wireshark: Unsatisfied symbols

 
ed e
Advisor

gcc link of wireshark: Unsatisfied symbols

I have had various trouble before compiling open source but have mostly found ways around the problems. I remember hitting the following before but now I don't have a lot of time to track down a solution. On the link step I get a lot of unsatisfied symbols. I think the reference comes from a .sl. Anyone else know a way around this?

gcc 4.4.3, wireshark 1.4.1

/usr/ccs/bin/ld: Unsatisfied symbols:
add_ip_name_from_string (first referenced in gtk/libui.a(manual_addr_resolv.o)) (code)
(snip)
5 REPLIES 5
Steven Schweda
Honored Contributor

Re: gcc link of wireshark: Unsatisfied symbols

> [...] I don't have a lot of time to track
> down a solution. [...]

I don't have a lot of time to track down
where you downloaded the source, or to guess
how you tried to build it, or on what. Or
if this thing has any prerequisites, or if
you have them installed.
Steven E. Protter
Exalted Contributor

Re: gcc link of wireshark: Unsatisfied symbols

Shalom,

Is there anything wrong with the wireshark that is part of HP-UX Internet Express, delivered by the website http://software.hp.com ?

Just wondering.

Why compile when someone else has done the work for you.

If you persist in compiling, check SHLIB_PATH and see if the libraries meet the compile requirements in your source code documentation.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: gcc link of wireshark: Unsatisfied symbols

>add_ip_name_from_string (referenced in gtk/libui.a (manual_addr_resolv.o))

Have you looked at that library and source file to see where it is used? Possibly a .h that declares it may give you a clue to the library that contains it?
Unsats could also occur if you have mismatched software versions were the function is new or has been removed.

>SEP: check SHLIB_PATH and see if the libraries

SHLIB_PATH doesn't help for unsats during link time. That's -L path or LPATH.
ed e
Advisor

Re: gcc link of wireshark: Unsatisfied symbols

didn't expect someone being rude on here. that caught me off guard.
ed e
Advisor

Re: gcc link of wireshark: Unsatisfied symbols

skip it