aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Build fail on Solaris Express 11/04  (Read 4928 times)

sun

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Build fail on Solaris Express 11/04
« on: December 14, 2004, 11:24:49 PM »

When I try a compilation of aMule 2.0.0rc7 or latest CVS I have the following error:

System info:

-bash-2.05b$ uname -a
SunOS host 5.10 s10_72 sun4u sparc SUNW,Ultra-5_10
-bash-2.05b$ gcc -v
Reading specs from /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.2/specs
Configured with: ../configure --prefix=/opt/csw/gcc3 --with-local-prefix=/opt/csw/gcc3 --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-multilib --disable-nls --enable-threads --with-libiconv-prefix=/opt/csw --enable-shared
Thread model: posix
gcc version 3.4.2
-bash-2.05b$ wxgtk-2.4-config --version
2.4.2
-bash-2.05b$ wxgtk-2.4-config --cflags
-I/opt/local/lib/wx/include/gtk-2.4 -I/opt/local/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-bash-2.05b$ wxgtk-2.4-config --libs  
-L/opt/local/lib -pthreads -lwx_gtk-2.4
-bash-2.05b$ wxbase-2.4-config --cflags
-I/opt/local/lib/wx/include/base-2.4 -I/opt/local/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-bash-2.05b$ wxbase-2.4-config --libs  
-L/opt/local/lib -pthreads -lwx_base-2.4


ERROR:

I have the same error with rc7 and latest CVS (in the cvs version udp_timer is in a diferent line):

g++  -DUSE_EMBEDDED_CRYPTO  -O2   -lpthread -o ed2k  ED2KLinkParser.o  
if g++ -DHAVE_CONFIG_H -I. -I. -I..      -I/opt/local/lib/wx/include/base-2.4 -I/opt/local/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/sfw/include/gtk-1.2 -I/usr/sfw/include/glib-1.2 -I/usr/sfw/lib/glib/include   -I/opt/csw/include -DUSE_EMBEDDED_CRYPTO  -O2  -MT amule-ListenSocket.o -MD -MP -MF ".deps/amule-ListenSocket.Tpo" \
  -c -o amule-ListenSocket.o `test -f 'ListenSocket.cpp' || echo './'`ListenSocket.cpp; \
then mv -f ".deps/amule-ListenSocket.Tpo" ".deps/amule-ListenSocket.Po"; \
else rm -f ".deps/amule-ListenSocket.Tpo"; exit 1; \
fi
In file included from ListenSocket.cpp:27:
ServerList.h:89: error: field `udp_timer' has incomplete type
In file included from /opt/local/include/wx/gdicmn.h:29,
                 from updownclient.h:27,
                 from ListenSocket.cpp:28:
/opt/local/include/wx/font.h:82: error: expected class-name before '{' token
/opt/local/include/wx/font.h: In member function `bool wxFontBase::Ok() const':
/opt/local/include/wx/font.h:104: error: `m_refData' undeclared (first use this function)
/opt/local/include/wx/font.h:104: error: (Each undeclared identifier is reported only once for each function it appears in.)
/opt/local/include/wx/font.h: In member function `wxFontRefData* wxFontBase::GetFontData() const':
/opt/local/include/wx/font.h:156: error: `m_refData' undeclared (first use this function)
In file included from ListenSocket.cpp:28:
updownclient.h: At global scope:
updownclient.h:341: error: variable or field `DrawUpStatusBar' declared void
updownclient.h:341: error: expected `;' before '(' token
updownclient.h:368: error: variable or field `DrawStatusBar' declared void
updownclient.h:368: error: expected `;' before '(' token
In file included from ListenSocket.cpp:40:
sockets.h:104: error: field `m_idRetryTimer' has incomplete type
ListenSocket.cpp:113:4: warning: #warning check closing method to change order and get rid of this
ListenSocket.cpp:823:8: warning: #warning Here should be the IDHybrid, but we don't use it yet and I'm afraid it will break a lot ;)
ListenSocket.cpp:829:7: warning: #warning Here should be the IDHybrid, but we don't use it yet and I'm afraid it will break a lot ;)
ListenSocket.cpp:882:6: warning: #warning TODO: CHECK MESSAGE FILTERING!
ListenSocket.cpp:1173:7: warning: #warning We need a new ProcessSharedFileList that can handle dirs. ___UNICODE___
ListenSocket.cpp:1873:6: warning: #warning Xaignar - check this for agressive
gmake[4]: *** [amule-ListenSocket.o] Error 1
gmake[4]: Leaving directory `/home/tonim/src/aMule-2.0.0rc7/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/tonim/src/aMule-2.0.0rc7/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/tonim/src/aMule-2.0.0rc7/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/tonim/src/aMule-2.0.0rc7'
gmake: *** [all] Error 2


Some idea?
Logged