Bug 213530 - build fails - nsaddrs undefined
Summary: build fails - nsaddrs undefined
Status: RESOLVED FIXED
Alias: None
Product: ksirk
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Gaël de Chalendar (aka Kleag)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-07 12:53 UTC by tropikhajma
Modified: 2010-04-19 18:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2009-11-07 12:53:12 UTC
Version:           4.3.73 (using Devel)
Compiler:          Sun Studio 12 U1 
OS:                Solaris
Installed from:    Compiled sources

building kdegames 4.3.73 fails with 
...
[ 64%] Building C object ksirk/ksirk/iris/src/CMakeFiles/iris_ksirk.dir/jdns/jdns_sys.o
cd /export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/build-kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src && /opt/sunstudio12.1/bin/cc  -DMAKE_IRIS_KSIRK_LIB -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -D__EXTENSIONS__ -DSOLARIS -D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE -DUNICODE -D_XOPEN_SOURCE=600 -D_XPG6 -D_POSIX_C_SOURCE=200112L -D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STRICT_STDC__ -D_STDC_C99 -D_ISOC99_SOURCE  -I/opt/foss/include -Xc -xc99=%all -errshort=full -errfmt=error -errwarn=%none -s -xcsi -xustr=ascii_utf16_ushort -features=extinl -xalias_level=std -mt -xF=%none -xbuiltin=%all -xinline=%auto -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xthreadvar=%all -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 -KPIC -xrestrict=%all -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8  -KPIC -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/build-kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395 -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/build-kdegames-4.3.73svn1040395 -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/libkdegames -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/libkdegames/includes -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/irisnet/corelib -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/irisnet/noncore -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/irisnet/noncore/legacy -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/jdns -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/libidn -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/xmpp/cutestuff -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/xmpp/jid -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/xmpp/xmpp-core -I/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/xmpp/xmpp-im -I/opt/kde4/include -I/opt/kde4/include/KDE -I/opt/foss/include/KDE -I/opt/foss/include -I/opt/foss/qt4/include/phonon -I/opt/foss/qt4/include/QtXmlPatterns -I/opt/foss/qt4/include/QtWebKit -I/opt/foss/qt4/include/QtHelp -I/opt/foss/qt4/include/QtAssistant -I/opt/foss/qt4/include/QtDBus -I/opt/foss/qt4/include/QtTest -I/opt/foss/qt4/include/QtUiTools -I/opt/foss/qt4/include/QtScript -I/opt/foss/qt4/include/QtSvg -I/opt/foss/qt4/include/QtXml -I/opt/foss/qt4/include/QtSql -I/opt/foss/qt4/include/QtOpenGL -I/opt/foss/qt4/include/QtNetwork -I/opt/foss/qt4/include/QtDesigner -I/opt/foss/qt4/include/Qt3Support -I/opt/foss/qt4/include/QtGui -I/opt/foss/qt4/include/QtCore -I/opt/foss/qt4/include/Qt -I/opt/foss/qt4/share/mkspecs/default -I/opt/foss/qt4/include -I/usr/X11/include -I/opt/foss/include/QtCrypto    -D_LARGEFILE64_SOURCE -DIRISNET_STATIC -o CMakeFiles/iris_ksirk.dir/jdns/jdns_sys.o   -c /export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/jdns/jdns_sys.c
"/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/jdns/jdns_sys.c", line 738: error: undefined struct/union member: nsaddrs
"/export/home/hajma/packages/BUILD/kdegames-4.3.73svn1040395/ksirk/ksirk/iris/src/jdns/jdns_sys.c", line 738: error: cannot dereference non-pointer type
Comment 1 tropikhajma 2009-11-08 06:11:23 UTC
see how __res_state_ext is used in opensolaris resolv.h:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/head/resolv.h
Comment 2 Albert Astals Cid 2009-11-17 22:33:46 UTC
Gäel do we really need to have iris embedded in ksirk code?
Comment 3 Gaël de Chalendar (aka Kleag) 2009-12-02 22:23:19 UTC
@tropikhajma: I commited a correction comming from the iris git repository that should solve this problem. Could you verify ?

@albert: yes, this is a problem, but see my mail on the list
Comment 4 Frederik Schwarzer 2010-04-19 17:21:37 UTC
Builds.
Comment 5 Frederik Schwarzer 2010-04-19 17:34:11 UTC
Umm, sorry; didn't see the Solaris Setting.
Comment 6 Frederik Schwarzer 2010-04-19 17:38:55 UTC
(and set back to its former state)
Comment 7 tropikhajma 2010-04-19 18:18:39 UTC
I confirm the whole of kdegames 4.4.2, including ksirk, is building fine on OpenSolaris

sorry for missing the question