[Iftop-users] Help

Tim.Clashin@calcucare.com Tim.Clashin at calcucare.com
Thu, 25 Mar 2004 10:11:39 -0600


This is a multipart message in MIME format.
--=_alternative 0059117686256E62_=
Content-Type: text/plain; charset="US-ASCII"

Chris,

I finally got iftop to work and it was by accident.  I was trying to 
install another piece of software on the same box that I was trying to 
install iftop.  The software specifically said that the program would not 
compile with gcc 3.1, and I need 2.95.  So I uninstalled gcc 3.1 and 
installed gcc 2.95.  I also set the library path to be 
LD_RUN_PATH=/opt/sfw/lib:/usr/lib:/usr/local/lib. 

After making these changes, iftop compiled like a champ and now works on 
Solaris 9. 

Thanks again for all your help.

Tim Clashin

 



Chris Lightfoot <chris@ex-parrot.com> 
03/24/2004 02:28 PM

To
Tim.Clashin@calcucare.com
cc
iftop-users@lists.beasts.org
Subject
Re: [Iftop-users] Help






On Wed, Mar 24, 2004 at 02:08:23PM -0600, Tim.Clashin@calcucare.com wrote:
> I don't see the symbols, not much of a compling guru to be honest with 
> you.  Below is a tail of the make running. 
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/local/include  -g -O2 -c `test 

> -f 'vector.c' || echo './'`vector.c
> gcc  -g -O2  -L/usr/local/lib -o iftop  addr_hash.o edline.o hash.o 
> iftop.o ns_hash.o options.o  resolver.o screenfilter.o serv_hash.o 
sorted_
> ist.o threadprof.o ui.o  util.o addrs_ioctl.o addrs_dlpi.o  dlcommon.o 
> stringmap.o cfgfile.o  vector.o  -lpcap -lnsl -lm -lsocket  -lncurses 
-lp
> hread
> Undefined                       first referenced
>  symbol                             in file
> initscr32                           ui.o
> acs32map                            ui.o
> w32addch                            ui.o
> ld: fatal: Symbol referencing errors. No output written to iftop
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `iftop'
> Current working directory /opt/iftop/iftop-0.16
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /opt/iftop/iftop-0.16
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> 
> 
> Due note, I did read one of your users questions regarding iftop having 
> problems installing on solaris 8.  I did change the options.c file and 
> changed the variable "u_int32_t" to "unsigned int" 
> 
> If their is something else I should be looking for, please let me know. 
> Thanks again for your help.
> 
> Tim Clashin 
> 
> 
> 
> Chris Lightfoot <chris@ex-parrot.com> 
> 03/24/2004 02:02 PM
> 
> To
> Tim.Clashin@calcucare.com
> cc
> iftop-users@lists.beasts.org
> Subject
> Re: [Iftop-users] Help
> 
> 
> 
> 
> 
> 
> On Wed, Mar 24, 2004 at 01:58:24PM -0600, Tim.Clashin@calcucare.com 
wrote:
> > Hello everyone,
> > 
> > I am having trouble with the make command installing iftop on Solaris 
9. 
> I 
> > have installed libpcap, and ncurses.  The configure command ran fine, 
> and 
> > I also installed in promisicus mode.  Below is the error I am getting 
> when 
> > I run the make command. 
> > 
> > ld: fatal: Symbol referencing errors. No output written to iftop
> > collect2: ld returned 1 exit status
> 
> -- does it not list the symbols for which there were
> referencing errors?
> 
> -- 
> Arthur: This new learning amazes me, Sir Bedevere.  Explain again how
>         sheeps' bladders may be employed to prevent earthquakes.
>  (from `Monty Python and the Holy Grail')
> 

-- 
``Computer-simulators, used to stage mock failures in the flight trainer,
  weren't working. This was a triumph of accurate simulation, but 
otherwise
  not amusing.'' (Gregg Easterbrook, on space shuttle development)


--=_alternative 0059117686256E62_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Chris,</font>
<br>
<br><font size=2 face="sans-serif">I finally got iftop to work and it was
by accident. &nbsp;I was trying to install another piece of software on
the same box that I was trying to install iftop. &nbsp;The software specifically
said that the program would not compile with gcc 3.1, and I need 2.95.
&nbsp;So I uninstalled gcc 3.1 and installed gcc 2.95. &nbsp;I also set
the library path to be LD_RUN_PATH=/opt/sfw/lib:/usr/lib:/usr/local/lib.
&nbsp;</font>
<br>
<br><font size=2 face="sans-serif">After making these changes, iftop compiled
like a champ and now works on Solaris 9. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">Thanks again for all your help.</font>
<br>
<br><font size=2 face="sans-serif">Tim Clashin</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Chris Lightfoot &lt;chris@ex-parrot.com&gt;</b>
</font>
<p><font size=1 face="sans-serif">03/24/2004 02:28 PM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">Tim.Clashin@calcucare.com</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">iftop-users@lists.beasts.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [Iftop-users] Help</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On Wed, Mar 24, 2004 at 02:08:23PM -0600, Tim.Clashin@calcucare.com
wrote:<br>
&gt; I don't see the symbols, not much of a compling guru to be honest
with <br>
&gt; you. &nbsp;Below is a tail of the make running. <br>
&gt; <br>
&gt; gcc -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp;-I/usr/local/include
&nbsp;-g -O2 -c `test <br>
&gt; -f 'vector.c' || echo './'`vector.c<br>
&gt; gcc &nbsp;-g -O2 &nbsp;-L/usr/local/lib -o iftop &nbsp;addr_hash.o
edline.o hash.o <br>
&gt; iftop.o ns_hash.o options.o &nbsp;resolver.o screenfilter.o serv_hash.o
sorted_<br>
&gt; ist.o threadprof.o ui.o &nbsp;util.o addrs_ioctl.o addrs_dlpi.o &nbsp;dlcommon.o
<br>
&gt; stringmap.o cfgfile.o &nbsp;vector.o &nbsp;-lpcap -lnsl -lm -lsocket
&nbsp;-lncurses -lp<br>
&gt; hread<br>
&gt; Undefined &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; first referenced<br>
&gt; &nbsp;symbol &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; in file<br>
&gt; initscr32 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ui.o<br>
&gt; acs32map &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ui.o<br>
&gt; w32addch &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ui.o<br>
&gt; ld: fatal: Symbol referencing errors. No output written to iftop<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; *** Error code 1<br>
&gt; make: Fatal error: Command failed for target `iftop'<br>
&gt; Current working directory /opt/iftop/iftop-0.16<br>
&gt; *** Error code 1<br>
&gt; make: Fatal error: Command failed for target `all-recursive'<br>
&gt; Current working directory /opt/iftop/iftop-0.16<br>
&gt; *** Error code 1<br>
&gt; make: Fatal error: Command failed for target `all'<br>
&gt; <br>
&gt; <br>
&gt; Due note, I did read one of your users questions regarding iftop having
<br>
&gt; problems installing on solaris 8. &nbsp;I did change the options.c
file and <br>
&gt; changed the variable &quot;u_int32_t&quot; to &quot;unsigned int&quot;
<br>
&gt; <br>
&gt; If their is something else I should be looking for, please let me
know. <br>
&gt; Thanks again for your help.<br>
&gt; <br>
&gt; Tim Clashin <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Chris Lightfoot &lt;chris@ex-parrot.com&gt; <br>
&gt; 03/24/2004 02:02 PM<br>
&gt; <br>
&gt; To<br>
&gt; Tim.Clashin@calcucare.com<br>
&gt; cc<br>
&gt; iftop-users@lists.beasts.org<br>
&gt; Subject<br>
&gt; Re: [Iftop-users] Help<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Wed, Mar 24, 2004 at 01:58:24PM -0600, Tim.Clashin@calcucare.com
wrote:<br>
&gt; &gt; Hello everyone,<br>
&gt; &gt; <br>
&gt; &gt; I am having trouble with the make command installing iftop on
Solaris 9. <br>
&gt; I <br>
&gt; &gt; have installed libpcap, and ncurses. &nbsp;The configure command
ran fine, <br>
&gt; and <br>
&gt; &gt; I also installed in promisicus mode. &nbsp;Below is the error
I am getting <br>
&gt; when <br>
&gt; &gt; I run the make command. <br>
&gt; &gt; <br>
&gt; &gt; ld: fatal: Symbol referencing errors. No output written to iftop<br>
&gt; &gt; collect2: ld returned 1 exit status<br>
&gt; <br>
&gt; -- does it not list the symbols for which there were<br>
&gt; referencing errors?<br>
&gt; <br>
&gt; -- <br>
&gt; Arthur: This new learning amazes me, Sir Bedevere. &nbsp;Explain again
how<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; sheeps' bladders may be employed to prevent
earthquakes.<br>
&gt; &nbsp;(from `Monty Python and the Holy Grail')<br>
&gt; <br>
<br>
-- <br>
``Computer-simulators, used to stage mock failures in the flight trainer,<br>
 &nbsp;weren't working. This was a triumph of accurate simulation, but
otherwise<br>
 &nbsp;not amusing.'' (Gregg Easterbrook, on space shuttle development)<br>
</tt></font>
<br>
--=_alternative 0059117686256E62_=--