News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compilation issues on AMD Athlon 64 (Kubuntu)

Started by sprudl, January 04, 2006, 05:03:14 PM

Previous topic - Next topic

sprudl

Since there are no packages available I tried compiling Code::Blocks on my AMD Athlon 64 with Kubuntu.
There were some illegal casts from void to int which I solved by casting to long instead.

But now I'm stuck on these undefined references:

/home/sprudl/devel/codeblocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `PrepareSystemFunction(asCScriptFunction*, asSSystemFunctionInterface*, asCScriptEngine*)'
/home/sprudl/devel/codeblocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `CallSystemFunction(int, asCContext*, void*)'
/home/sprudl/devel/codeblocks/trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `DetectCallingConvention(bool, asUPtr const&, int, asSSystemFunctionInterface*)'


I'm having problems locating the source of the problem.  The undefined symbols are in the source tree but are ignored somehow. 

Any ideas would be welcome.  Thanks.

jimp

The parameters to all of the functions contain a class or struct pointer, for example asCScriptFunction*.  Try changing these to void* and cast them to an object pointer in the function that is called.