[En-Nut-Discussion] Comiling 4.3.1 on Suse 10.2

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Fri Mar 9 23:15:21 CET 2007


Hallo,

I am trying to compile a fresh CVS checkout on Suse-10.2. Here some things I
stumble on:
1., http://www.ethernut.de/en/documents/install-suse.html
Section 6 still tells
"$ automake -add-missing" 
while it should read
"$ automake --add-missing"
             ^

2., ./configure insists on lua-50, while suse 10.2 installs lua-51.
I could only get configure to recognize lua by uninstalling 51 and reverting
to 50 (which is on the distribution CD anyways)

3., gcc-4.1.2 is not happy with the way nutconf.cpp uses the _T macro in
  conjunction withe then VERSION macro:

gcc  -g -O2   -o nutconfigure  nutconfigure-nutcomponent.o  -ldl -llualib
-llua 
if g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DNO_GCC_PRAGMA   -g -O2 -MT nutconf-nutconf.o -MD -MP -MF
".deps/nutconf-nutconf.Tpo" -c -o nutconf-nutconf.o `test -f 'nutconf.cpp'
|| echo './'`nutconf.cpp; \
        then mv -f ".deps/nutconf-nutconf.Tpo" ".deps/nutconf-nutconf.Po";
else rm -f ".deps/nutconf-nutconf.Tpo"; exit 1; fi
nutconf.cpp: In member function $,1rx(Bvirtual bool NutConfApp::OnInit()$,1ry(B:
nutconf.cpp:137: error: expected `)' before $,1rx(BLVERSION$,1ry
(Bmake[2]: *** [nutconf-nutconf.o] Fehler 1

By substituting "VERSION" against "\"4.3.1\"" nutconf compiles to the next
problem

4.;The next problem
if g++ -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DNO_GCC_PRAGMA   -g -O2 -MT nutconf-nutconfdoc.o -MD -MP -MF
".deps/nutconf-nutconfdoc.Tpo" -c -o nutconf-nutconfdoc.o `test -f
'nutconfdoc.cpp' || echo './'`nutconfdoc.cpp; \
        then mv -f ".deps/nutconf-nutconfdoc.Tpo"
".deps/nutconf-nutconfdoc.Po"; else rm -f ".deps/nutconf-nutconfdoc.Tpo";
exit 1; fi
nutconfdoc.cpp: In member function $,1rx(Bvirtual wxDirTraverseResult
CDirCopyTraverser::OnDir(const wxString&)$,1ry(B:
nutconfdoc.cpp:635: error: $,1rx(Bclass wxString$,1ry(B has no member named $,1rx(BEndsWith$,1ry(B
make[2]: *** [nutconf-nutconfdoc.o] Fehler 1

I declare to late today to tackle ;-)

Cheers
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the En-Nut-Discussion mailing list