#5 building fails with older make versions

open
nobody
None
5
2007-10-29
2007-10-29
Werner Hoch
No

Hi Mike and all,

when using an older make version, the build fails:

-----------
/usr/bin/make config
make[1]: Entering directory `/usr/src/packages/BUILD/gspiceui-v0.9.55'
mkdir /usr/src/packages/BUILD/gspiceui-v0.9.55/bin
make[1]: Leaving directory `/usr/src/packages/BUILD/gspiceui-v0.9.55'
cd /usr/src/packages/BUILD/gspiceui-v0.9.55/src ; /usr/bin/make
make[1]: Entering directory `/usr/src/packages/BUILD/gspiceui-v0.9.55/src'
g++ -O -pipe -c -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FIL E_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I/usr/include -I/usr/X11R6/include -I. AppGSpiceUI.cpp -o obj/AppGSpiceUI.o
g++ -O -pipe -c -I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FIL E_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I/usr/include -I/usr/X11R6/include -I. CmdLinePcr.cpp -o obj/CmdLinePcr.o
g++ -pipe -o ../bin/gspiceui obj/*.o -L/usr/lib64 -pthread -L/usr/X11R6/lib64 -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk 2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 -L/opt/gnome/lib64 -l pangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
obj/AppGSpiceUI.o: In function `AppGSpiceUI::OnInit()':
AppGSpiceUI.cpp:(.text+0x32a): undefined reference to `FrmMain::FrmMain(wxApp const*)'
AppGSpiceUI.cpp:(.text+0x348): undefined reference to `FrmMain::Initialize()'
AppGSpiceUI.cpp:(.text+0x370): undefined reference to `FileTasks::Initialize()'
obj/CmdLinePcr.o: In function `CmdLinePcr::bProcOption_g(int*)':
CmdLinePcr.cpp:(.text+0xff): undefined reference to `PrcGNetList::PrcGNetList()'
CmdLinePcr.cpp:(.text+0x162): undefined reference to `PrcGNetList::bSetGuileProc(wxString const&)'
CmdLinePcr.cpp:(.text+0x2f8): undefined reference to `PrcGNetList::~PrcGNetList()'
CmdLinePcr.cpp:(.text+0x337): undefined reference to `PrcGNetList::~PrcGNetList()'
collect2: ld returned 1 exit status
make[1]: *** [../bin/gspiceui] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/gspiceui-v0.9.55/src'
make: *** [all] Error 2
-----------

make 3.81 works, (openSUSE 10.2 and newer)
make 3.80 does not work (SUSE Linux 10.1 and older)

Patch attached.

Regards
Werner

Discussion

  • Werner Hoch
    Werner Hoch
    2007-10-29

     
    Attachments