Bug 49354

Summary: Konsole fails to compile in Solaris 9
Product: [Applications] konsole Reporter: Hasso Tepper <hasso>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Hasso Tepper 2002-10-18 18:08:52 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc-3.2 
OS:          Solaris

/bin/bash ../../libtool --silent --mode=link gcc  -O2   -D_GNU_SOURCE    -o konsole_grantpty -R /opt/kde3/lib -R /opt/qt3x/lib -L/opt/qt3x/lib -L/opt/kde3/lib konsole_grantpty.o -lkdefakes 
Undefined                       first referenced
 symbol                             in file
gethostbyname                       /opt/kde3/lib/libkdefakes.so
ld: fatal: Symbol referencing errors. No output written to konsole_grantpty
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `konsole_grantpty'
Current working directory /export/rix/sitt/newkde/kdebase/konsole/konsole


Adding -lnsl to linking command line solves problem.
Comment 1 Stephan Kulow 2002-10-19 12:54:28 UTC
same problem 

*** This bug has been marked as a duplicate of 49298 ***