View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000471aMuleMiscpublic2005-06-05 20:582005-06-13 00:37
Reporterred_alert 
Assigned ToKry 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionreopened 
PlatformOSOS Version
Product Version2.0.2 
Target VersionFixed in Version 
Summary0000471: compile error
Descriptionmake[3]: Entering directory `/home/red_alert/Desktop/aMule-2.0.2/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DUSE_WX_TRAY -I/usr/lib/wx/include/gtk-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DHAVE_BFD -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -MT amule-ServerUDPSocket.o -MD -MP -MF ".deps/amule-ServerUDPSocket.Tpo" -c -o amule-ServerUDPSocket.o `test -f 'ServerUDPSocket.cpp' || echo './'`ServerUDPSocket.cpp; \
then mv -f ".deps/amule-ServerUDPSocket.Tpo" ".deps/amule-ServerUDPSocket.Po"; else rm -f ".deps/amule-ServerUDPSocket.Tpo"; exit 1; fi
ServerUDPSocket.h:70: error: expected `)' before '*' token
ServerUDPSocket.h:88: error: ISO C++ forbids declaration of 'CServerConnect' with no type
ServerUDPSocket.h:88: error: expected ';' before '*' token
ServerUDPSocket.cpp:59: error: prototype for 'CServerUDPSocket::CServerUDPSocket(CServerConnect*, amuleIPV4Address&, const CProxyData*)' does not match any in class 'CServerUDPSocket'
ServerUDPSocket.h:65: error: candidates are: CServerUDPSocket::CServerUDPSocket(const CServerUDPSocket&)
ServerUDPSocket.h:65: error: CServerUDPSocket::CServerUDPSocket()
ServerUDPSocket.cpp: In constructor 'CServerUDPSocket::CServerUDPSocket(CServerConnect*, amuleIPV4Address&, const CProxyData*)':
ServerUDPSocket.cpp:68: error: 'serverconnect' was not declared in this scope
make[3]: *** [amule-ServerUDPSocket.o] Error 1
make[3]: Leaving directory `/home/red_alert/Desktop/aMule-2.0.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/red_alert/Desktop/aMule-2.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/red_alert/Desktop/aMule-2.0.2'
make: *** [all] Error 2
Additional InformationFedora Core 4
GCC4

aMule 2.0.1 compiling well!
TagsNo tags attached.
Fixed in Revision
Operating System
Attached Files

- Relationships

-  Notes
(0001041)
Kry (manager)
2005-06-05 22:42

Try putting

#include "CServerConnect.h"

on the include secion of ServerUDPSocket.h, and report if it fixes it.
(0001060)
Kry (manager)
2005-06-12 21:30

Guess so.
(0001062)
red_alert (reporter)
2005-06-12 22:59

sorry, I didn't see your first post (didn't receive a mail as I did now)).

I tried your include and it didn't work, then noticed, that the headerfile you wanted to include doesn't exist.
But ServerConnect.h does exist and worked (CVS 12th June).

Thank you!
(0001063)
Kry (manager)
2005-06-13 00:37

Uh, yeah, misstyped it. Thanks!

- Issue History
Date Modified Username Field Change
2005-06-05 20:58 red_alert New Issue
2005-06-05 22:42 Kry Note Added: 0001041
2005-06-05 22:43 Kry Status new => assigned
2005-06-05 22:43 Kry Assigned To => Kry
2005-06-12 21:30 Kry Status assigned => closed
2005-06-12 21:30 Kry Note Added: 0001060
2005-06-12 22:59 red_alert Status closed => feedback
2005-06-12 22:59 red_alert Resolution open => reopened
2005-06-12 22:59 red_alert Note Added: 0001062
2005-06-13 00:37 Kry Status feedback => closed
2005-06-13 00:37 Kry Note Added: 0001063


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker