Error compiling dev-libs/libroadnav-0.16 config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/libroadnav-0.16/work/libroadnav-0.16' Making all in src make[2]: Entering directory `/var/tmp/portage/libroadnav-0.16/work/libroadnav-0.16/src' if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/base-unicode-release-2.6 -I/usr/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../include/libroadnav -Wall -O2 -march=i686 -O2 -pipe -mtune=i686 -MT Address.o -MD -MP -MF ".deps/Address.Tpo" -c -o Address.o Address.cpp; \ then mv -f ".deps/Address.Tpo" ".deps/Address.Po"; else rm -f ".deps/Address.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/base-unicode-release-2.6 -I/usr/include/wx-2.6 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../include/libroadnav -Wall -O2 -march=i686 -O2 -pipe -mtune=i686 -MT Angle.o -MD -MP -MF ".deps/Angle.Tpo" -c -o Angle.o Angle.cpp; \ then mv -f ".deps/Angle.Tpo" ".deps/Angle.Po"; else rm -f ".deps/Angle.Tpo"; exit 1; fi /usr/include/wx-2.6/wx/hashmap.h: In member function 'wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const': /usr/include/wx-2.6/wx/hashmap.h:705: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/clntdata.h: In member function 'wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/clntdata.h: In member function 'wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/clntdata.h:31: warning: dereferencing type-punned pointer will break strict-aliasing rules ../include/libroadnav/MapRepresentations.h: At global scope: ../include/libroadnav/MapRepresentations.h:42: error: expected ',' or '...' before '&' token ../include/libroadnav/MapRepresentations.h:42: error: ISO C++ forbids declaration of 'wxColor' with no type ../include/libroadnav/MapRepresentations.h:43: error: 'wxColor' does not name a type make[2]: *** [Address.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /usr/include/wx-2.6/wx/hashmap.h: In member function 'wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const': /usr/include/wx-2.6/wx/hashmap.h:705: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/clntdata.h: In member function 'wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/clntdata.h: In member function 'wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/clntdata.h:31: warning: dereferencing type-punned pointer will break strict-aliasing rules ../include/libroadnav/ProgressDialog.h: At global scope: ../include/libroadnav/ProgressDialog.h:41: error: expected class-name before '{' token ../include/libroadnav/ProgressDialog.h:49: error: ISO C++ forbids declaration of 'wxStaticText' with no type ../include/libroadnav/ProgressDialog.h:49: error: expected ';' before '*' token ../include/libroadnav/ProgressDialog.h:52: error: ISO C++ forbids declaration of 'wxGauge' with no type ../include/libroadnav/ProgressDialog.h:52: error: expected ';' before '*' token ../include/libroadnav/ProgressDialog.h:41: warning: 'class ProgressDialog' has virtual functions but non-virtual destructor ../include/libroadnav/MapSupport.h:46: error: variable or field 'CopyBitmap' declared void ../include/libroadnav/MapSupport.h:46: error: 'wxBitmap' was not declared in this scope ../include/libroadnav/MapSupport.h:46: error: 'bmpSrc' was not declared in this scope ../include/libroadnav/MapSupport.h:46: error: 'wxBitmap' was not declared in this scope ../include/libroadnav/MapSupport.h:46: error: 'bmpDst' was not declared in this scope ../include/libroadnav/MapSupport.h:46: error: initializer expression list treated as compound expression ../include/libroadnav/MapSupport.h:47: error: 'wxBitmap' does not name a type make[2]: *** [Angle.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/libroadnav-0.16/work/libroadnav-0.16/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libroadnav-0.16/work/libroadnav-0.16' make: *** [all] Error 2 !!! ERROR: dev-libs/libroadnav-0.16 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile libroadnav-0.16.ebuild, line 21: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
(In reply to comment #0) To help diagnose this problem, would you be able to provide the version of wxGTK and the USE flags you built it with. Also, What arch are you building on? That would be helpful in sorting this out.
No response.