Bug 101023

Summary: Compile error on solaris 2.6 - inet_aton not available
Product: [Unmaintained] lanbrowsing Reporter: Steve Evans <stevee>
Component: generalAssignee: Alexander Neundorf <neundorf>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Steve Evans 2005-03-07 12:50:57 UTC
Version:            (using KDE KDE 3.3.92)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.3 
OS:                Solaris

I get this compile error:

if /bin/ksh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include   -I/gorbag/exta/cad/externals/SOLARIS/include  -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT findnic.lo -MD -MP -MF ".deps/findnic.Tpo" -c -o findnic.lo findnic.cpp; \
then mv -f ".deps/findnic.Tpo" ".deps/findnic.Plo"; else rm -f ".deps/findnic.Tpo"; exit 1; fi
findnic.cpp: In function `void suggestSettingsForNic(MyNIC*, LisaConfigInfo&)':
findnic.cpp:216: error: `inet_aton' undeclared (first use this function)
findnic.cpp:216: error: (Each undeclared identifier is reported only once for each function it appears in.)

This appears to be a regression of the bug fix 38435
Comment 1 groot 2008-08-01 13:28:11 UTC
Missing arpa/inet.h. Bug closed due to presumed fixed in KDE 3.4.3 packages and also EOL-ed KDE version and Solaris version.