User forums > Help

Compilation issues on AMD Athlon 64 (Kubuntu)

(1/1)

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:

--- Code: ---/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*)'

--- End code ---

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.

Navigation

[0] Message Index

Go to full version