Hello, X10 users
I am writing this post about the problem that is related to the calling the
external C++ code.
I've got the following compile error message.
When I called the wrapper function without referencing any class, it worked.
However, if I tried to use another class within the wrapper, I've got error
messages.
I think there is a X10++ compiling option.
r...@smk-laptop:/home/smk/odb/x10test# x10c++ -o HelloWorld HelloWorld.x10
-x10rt standalone
x10c++: /tmp/ccwBHaV2.o: In function `getName()':
/home/smk/odb/x10test/wrapper.cc:10: undefined reference to
`dbtrax::dbtrax()'
/home/smk/odb/x10test/wrapper.cc:11: undefined reference to
`dbtrax::getName()'
/home/smk/odb/x10test/wrapper.cc:11: undefined reference to
`dbtrax::~dbtrax()'
/home/smk/odb/x10test/wrapper.cc:11: undefined reference to
`dbtrax::~dbtrax()'
collect2: ld returned 1 exit status
x10c++: Non-zero return code: 1
2 errors.
Best regards,
Myoungkyu Song
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages,
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users