Hello again,
Actually, the first error that happens is the following
(still in
server/engine/core) :
_main.cpp: At global scope:
_main.cpp:473: error: 'get_segv_eip' has not been declared
_main.cpp:473: error: 'peip' has not been declared
_main.cpp:473: error: expected constructor, destructor, or
type
conversion before ';' token
_main.cpp: In member function 'virtual void
CoreTransferCallback::func(Process*)':
_main.cpp:776: warning: unused variable 'ulTestRet'
_main.cpp: In function 'void*
PthreadEntryPoint(thread_args*)':
_main.cpp:1238: error: 'gettid' was not declared in this
scope
_main.cpp:1213: warning: unused variable 'dispatch_queue'
_main.cpp: In function 'void dump_trace(int)':
_main.cpp:2372: error: 'gettid' was not declared in this
scope
_main.cpp:2411: error: 'gettid' was not declared in this
scope
_main.cpp:2407: warning: unused variable 'ptr'
_main.cpp: In function 'void server_fault(int, siginfo_t*,
ucontext_t*)':
_main.cpp:2589: error: 'g_eTLSCrashState' was not declared
in this scope
_main.cpp:2589: error: 'NO_FAULT' was not declared in this
scope
_main.cpp:2591: error: 'IN_FAULT_HANDLER' was not declared
in this scope
_main.cpp:2622: error: 'IN_FAULT_HANDLER' was not declared
in this scope
_main.cpp:2624: error: 'IN_FAULT_DOUBLE_FAULT_HANDLER' was
not declared
in this scope
_main.cpp:2645: error: 'IN_FAULT_DOUBLE_FAULT_HANDLER' was
not declared
in this scope
_main.cpp: In member function 'virtual HX_RESULT
RSSCoreStatsReport::Report(IHXLogOutput*, BOOL,
HXTimeval)':
_main.cpp:3173: warning: format '%02d' expects type 'int',
but argument
4 has type 'long unsigned int'
_main.cpp:3173: warning: format '%02d' expects type 'int',
but argument
5 has type 'long unsigned int'
_main.cpp:3173: warning: format '%02d' expects type 'int',
but argument
6 has type 'long unsigned int'
_main.cpp:3197: warning: format '%d' expects type 'int', but
argument 4
has type 'UINT32'
[...]
_main.cpp:3516: warning: format '%d' expects type 'int', but
argument 5
has type 'INT32'
_main.cpp:3519: warning: format '%ld' expects type 'long
int', but
argument 3 has type 'int'
_main.cpp:3595: warning: format '%d' expects type 'int', but
argument 3
has type 'long unsigned int'
_main.cpp:3362: warning: unused variable
'fBroadcastDistBytes'
_main.cpp: In function 'void AliveChecker(SocketPair*)':
_main.cpp:4068: warning: format '%d' expects type 'int', but
argument 2
has type 'UINT32'
_main.cpp:4068: warning: format '%d' expects type 'int', but
argument 3
has type 'UINT32'
_main.cpp: In function 'int _main(int, char**)':
_main.cpp:5297: warning: format '%d' expects type 'int*',
but argument 3
has type 'UINT32*'
_main.cpp:5297: warning: format '%d' expects type 'int*',
but argument 4
has type 'UINT32*'
_main.cpp:5297: warning: format '%d' expects type 'int*',
but argument 5
has type 'UINT32*'
_main.cpp:5656: warning: suggest parentheses around
assignment used as
truth value
_main.cpp:5797: error: 'gettid' was not declared in this
scope
_main.cpp:6388: warning: unused variable 'rsscsr'
_main.cpp: At global scope:
_main.cpp:4287: warning: 'BOOL RedHatEtcHostsOkay()' defined
but not used
make: *** [dbg/obj/_main.o] Error 1
Time used: 8.05 seconds
ERROR: UNIXCompile(server/engine/core) ERROR: Make failed.
Tom Réthaller
Wister
+331 45 44 65 86
RETHALLER Tom wrote :
> Hello,
> I cannot compile on this Artchitecture :
> - Linux 2.6.18-4-686
> - Debian etch
> - gcc --version : 3.3 or 4.1 (tried both)
> - SYSTEM_ID : linux-2.6-glibc23-i686
> - BIF branch : SERVER_11_1
> - Target : servernodist or serverall (tried both)
> - Profile : helix-server-nodist
>
> I also tried a lot of other profiles, branches, with
many GCC
> versions. I followed this document :
> https://helix-server.helixcommunity.org/2005/devd
ocs/quickstart
>
> The module server/engine/core fail to compile :
>
>
____________________________________________________________
_________
> g++ -pipe -Wall -Wreturn-type -Wno-non-virtual-dtor
-fno-exceptions
> --permissive -fno-rtti -Wno-ctor-dtor-privacy
-march=pentium
> -mcpu=pentium -O0 -g -DDEBUG -D_DEBUG
-I../../../common/runtime/pub
> -I/usr/X11R6/include
-I../../../server/common/netio/pub/platform/unix
> -I../../../server/engine/core/pub/platform/unix
> -I../../../server/engine/netio/pub/platform/unix
> -I../../../common/fileio/pub/platform/unix
> -I../../../common/netio/pub/platform/unix
-I../../../common/include
> -I../../../common/container/pub
-I../../../common/dbgtool/pub
> -I../../../common/netio/pub
-I../../../common/fileio/pub
> -I../../../common/lang/xml/pub
-I../../../common/system/pub
> -I../../../common/util/pub -I../../../server/include
> -I../../../server/common/netio/pub
-I../../../server/common/struct/pub
> -I../../../server/common/util/pub
-I../../../server/engine/context/pub
> -I../../../server/engine/core/pub
-I../../../server/engine/core
> -I../../../server/engine/registry/pub -I./pub -I.
-include
> dbg/server_engine_config_ribodefs.h -fPIC -DPIC -o
dbg/obj/cfgerror.o
> -c cfgerror.cpp
> python /home/technique/helixsource/build/bin/pyar.py cr
> dbg/servcfglib.a dbg/obj/altserverproxycfg.o
dbg/obj/cfgerror.o
> dbg/obj/config.o dbg/obj/configwatcher.o
dbg/obj/hdprefctrl.o
> dbg/obj/mimetpref.o dbg/obj/prefctrl.o
dbg/obj/xmlregconfig.o
> Pyar, executing: ar cr dbg/servcfglib.a
dbg/obj/altserverproxycfg.o
> dbg/obj/cfgerror.o dbg/obj/config.o
dbg/obj/configwatcher.o
> dbg/obj/hdprefctrl.o dbg/obj/mimetpref.o
dbg/obj/prefctrl.o
> dbg/obj/xmlregconfig.o
> _main.cpp:80: error: type specifier omitted for
parameter `gettid'
> _main.cpp:91: error: syntax error before `typedef'
> ../../../common/include/atomicbase.h:555: error: cannot
declare static
> function inside another function
>
> [...]
>
> ../../../common/include/hxerror.h: In function `INT32
> HXAtomicSubRetINT32(INT32*, long int)':
> ../../../common/include/hxerror.h:100: warning:
non-local variable
> `const _syscall0(int)::GUID IID_IHXErrorMessages' uses
local type
> `const _syscall0(int)::GUID'
> ../../../common/include/hxerror.h:194: warning:
non-local variable
> `const _syscall0(int)::GUID IID_IHXErrorSink' uses
local type `const
> _syscall0(int)::GUID'
> ../../../common/include/hxerror.h:253: warning:
non-local variable
> `const _syscall0(int)::GUID IID_IHXErrorSinkControl'
uses local type
> `const _syscall0(int)::GUID'
> ../../../common/include/hxerror.h: At global scope:
> ../../../common/include/hxerror.h:260: error:
conflicting types for
> `struct HXAtomicSubRetINT32(INT32*, long
int)::IHXErrorSinkControl'
> ../../../common/include/hxerror.h:57: error: previous
declaration as
> `typedef struct IHXErrorSinkControl
IHXErrorSinkControl'
> ../../../common/dbgtool/pub/hxassert.h:606: error:
field
> `HXAtomicSubRetINT32(INT32*, long
int)::LogInfo::m_pFile' in local
> class cannot be static
> ../../../common/container/pub/hxmaputils.h:245:
confused by earlier
> errors, bailing outtechnique srv2:~/helixsource/helix$
less build.out
> ../../../common/container/pub/hxstring.h: In member
function `bool
> delete_string(char*)::CHXString::operator>(const
unsigned char*) const':
> ../../../common/container/pub/hxstring.h:426: warning:
non-local
> function `bool operator>(const char*, const
> delete_string(char*)::CHXString&)' uses local type
`const
> delete_string(char*)::CHXString'
>
> [...]
>
> ../../../common/container/pub/hxmaputils.h:245:
confused by earlier
> errors, bailing out
> make: *** [dbg/obj/_main.o] Error 1
> Time used: 5.19 seconds
> ERROR: UNIXCompile(server/engine/core) ERROR: Make
failed.
>
____________________________________________________________
_________
>
>
> Does anyone know the cause of such a failure ?
> Best regards,
>
>
_______________________________________________
Helix-server-dev mailing list
Helix-server-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-server-dev
|