[Click] Re: Click Installation failed! Please help - URGENT

Eddie Kohler kohler at cs.ucla.edu
Mon Jun 13 15:59:09 EDT 2005


Raj

Have you tried the CVS version of Click

Eddie


Raja Sombhotla wrote:
> Hi all,
> 
> I am using the latest release of click click1.4.3.tar.gz,
> libnet-1.0.2a.tar.gz,
> ns-allinone-2.26.tar.gz, and the  nsclick-2.26.patch. I proceeded
> according to the nsclickmanual from the Michael Neuenfeld (June 10,
> 2003).
> 
> What am I missing ?
> 
> Actually, i have searched for this error on the web and found this
> answer from Mr. eddie Kohler :
> This is my fault -- I changed the prototype of click_export_elements()
> but
> forgot to update nsclick.cc. Please update Click and let me know if it
> works.
> But i am not sure what to do exactly, because i already got the latest
> version/release of click. I got the following error actually. Please
> help me to get this installed. Thanks in advance.
> Regards,
> Raj.
> 
> /home/manish/ns-allinone-2.26/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0x117):
> In function `TclpCreateTempFile':
> : warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> common/rawpacket.o(.text+0x1a2): In function `RawAgent::command(int,
> char const* const*)':
> : undefined reference to `libnet_name_resolve'
> common/rawpacket.o(.text+0x227): In function `RawAgent::command(int,
> char const* const*)':
> : undefined reference to `libnet_name_resolve'
> common/rawpacket.o(.text+0x2be): In function `RawAgent::command(int,
> char const* const*)':
> : undefined reference to `libnet_name_resolve'
> common/rawpacket.o(.text+0x2ed): In function `RawAgent::command(int,
> char const* const*)':
> : undefined reference to `libnet_name_resolve'
> common/rawpacket.o(.text+0x57b): In function
> `RawAgent::send_udp(unsigned long, unsigned short, unsigned long, 
> unsigned short, char const*,
> int)':
> : undefined reference to `libnet_build_ip'
> common/rawpacket.o(.text+0x5a7): In function
> `RawAgent::send_udp(unsigned long, unsigned short, unsigned long, 
> unsigned short, char const*,
> int)':
> : undefined reference to `libnet_build_udp'
> common/rawpacket.o(.text+0x5c4): In function
> `RawAgent::send_udp(unsigned long, unsigned short, unsigned long, 
> unsigned short, char const*,
> int)':
> : undefined reference to `libnet_do_checksum'
> common/rawpacket.o(.text+0x5df): In function
> `RawAgent::send_udp(unsigned long, unsigned short, unsigned long, 
> unsigned short, char const*,
> int)':
> : undefined reference to `libnet_do_checksum'
> classifier/classifier-click.o(.text+0x2e): In function
> `ClickEventHandler::handle(Event*)':
> : undefined reference to `simclick_click_run'
> classifier/classifier-click.o(.text+0x2f4): In function
> `ClickClassifier::command(int, char const* const*)':
> : undefined reference to `simclick_click_run'
> classifier/classifier-click.o(.text+0x368): In function
> `ClickClassifier::command(int, char const* const*)':
> : undefined reference to `simclick_click_create'
> classifier/classifier-click.o(.text+0x380): In function
> `ClickClassifier::command(int, char const* const*)':
> : undefined reference to `simclick_click_run'
> classifier/classifier-click.o(.text+0x888): In function
> `ClickClassifier::command(int, char const* const*)':
> : undefined reference to `simclick_click_read_handler'
> classifier/classifier-click.o(.text+0x932): In function
> `ClickClassifier::command(int, char const* const*)':
> : undefined reference to `simclick_click_write_handler'
> classifier/classifier-click.o(.text+0xdbe): In function
> `ClickClassifier::route(Packet*)':
> : undefined reference to `simclick_click_send'
> classifier/classifier-click.o(.text+0x155d): In function
> `ClickClassifier::LinkLayerFailed(Packet*)':
> : undefined reference to `simclick_click_send'
> common/agent.o(.text+0x93a): In function `Agent::command(int, char
> const* const*)':
> : undefined reference to `libnet_name_resolve'
> common/agent.o(.text+0x9bf): In function `Agent::command(int, char
> const* const*)':
> : undefined reference to `libnet_name_resolve'
> common/agent.o(.text+0x1506): In function `Agent::toraw(Packet*)':
> : undefined reference to `libnet_build_ip'
> common/agent.o(.text+0x1570): In function `Agent::toraw(Packet*)':
> : undefined reference to `libnet_build_tcp'
> common/agent.o(.text+0x158a): In function `Agent::toraw(Packet*)':
> : undefined reference to `libnet_do_checksum'
> common/agent.o(.text+0x15a5): In function `Agent::toraw(Packet*)':
> : undefined reference to `libnet_do_checksum'
> common/agent.o(.text+0x1658): In function `Agent::toraw(Packet*)':
> : undefined reference to `libnet_build_ip'
> common/agent.o(.text+0x168a): In function `Agent::toraw(Packet*)':
> : undefined reference to `libnet_build_udp'
> common/agent.o(.text+0x16a4): In function `Agent::toraw(Packet*)':
> : undefined reference to `libnet_do_checksum'
> common/agent.o(.text+0x16bf): In function `Agent::toraw(Packet*)':
> : undefined reference to `libnet_do_checksum'
> queue/clickqueue.o(.text+0x53f): In function
> `ClickQueue::on_unblock()':
> : undefined reference to `simclick_click_run'
> collect2: ld returned 1 exit status
> make: *** [ns] Error 1
> Ns make failed!
> See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
> 
> ------------------------------------------------------------------------
> Discover Yahoo!
> Find restaurants, movies, travel & more fun for the weekend. Check it 
> out! 
> <http://us.rd.yahoo.com/evt=32658/*http://discover.yahoo.com/weekend.html>


More information about the click mailing list