Hello All,
I am trying to integrate the java and C code. i am following the
guidelines given in the documentation at the address
http://java.sun.com/docs/books/tutorial/native1.1/stepbystep. I am
trying to work with the sample program given by them. I am having
RedHat6.0 with JDK1.2 (glibc2.1) which is working fine. I am able to
prepare the object file of the given C code. but when I try to prepare
*.so file it enconters following error:
#g++ -dy -o libhello.so HelloWorldImp.o
/usr/lib/crt1.o(text+0x18):undefined reference to 'main'
collect2:ld returned exit status
and it terminates.
If any one of u have came across such error please help me. in /usr/lib
crt1.o is present.
Thanking You,
Alpesh
===
KOTHARI ALPESH D.
STUDENT M. TECH.
CEDT
INDIAN INSTITUTE OF SCIENCE
BANGALORE-560 012
INDIA
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]