URL:
<http://savannah.nongnu.org/bugs/?22204>
Summary: Solaris10/11 Undefiniertes Symbol gethostbyname
socket connect
Project: AVR Downloader/UploaDEr
Submitted by: jroeker
Submitted on: Freitag 01.02.2008 um 15:35
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Jonny Röker
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hello,
i have a problem with compile avrdude. After start configure (see
configure_out.txt output log) i started gmake:
gcc -g -O2 -o avrdude avrdude-main.o ./libavrdude.a -lusb -ltermcap
Undefiniertes erstmals referenziert Symbol in Datei
gethostbyname ./libavrdude.a(libavrdude_a-ser_posix.o)
socket ./libavrdude.a(libavrdude_a-ser_posix.o)
connect ./libavrdude.a(libavrdude_a-ser_posix.o)
my PATH environment set to
/usr/bin:/usr/sbin:/usr/openwin/bin:/usr/ccs/bin:/export/home/jonny/bin::/usr/local/bin:.:/usr/sfw/bin:/usr/dt/bin:/usr/local/avr/bin
and LD_LIBRARY_PATH
/usr/lib:/usr/openwin/lib:/usr/ccs/lib:lib:/usr/sfw/lib:/usr/local/avr/lib
I have fixed this by appending -lnsl -lsocket in to row LIBS = -ltermcap .
--> LIBS = -ltermcap -lnsl -lsocket
Now the compile works
Jonny (DG9OAA)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Freitag 01.02.2008 um 15:35 Name: configure_out.txt Size: 3kB By:
jroeker
<http://savannah.nongnu.org/bugs/download.php?file_id=14915>
-------------------------------------------------------
Date: Freitag 01.02.2008 um 15:35 Name: ac_cfg.h Size: 4kB By: jroeker
<http://savannah.nongnu.org/bugs/download.php?file_id=14916>
-------------------------------------------------------
Date: Freitag 01.02.2008 um 15:35 Name: Makefile Size: 84kB By: jroeker
<http://savannah.nongnu.org/bugs/download.php?file_id=14917>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?22204>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev