collect2: ld returned 1 exit status
John Love-Jensen
eljay@adobe.com
Wed Sep 27 14:11:00 GMT 2006
Hi Yuen,
The problem is that you did not specify a main() function in your
program.cpp.
But, from your naming, it appears that you are attempting to make a shared
object library. You should check the syntax for how to make a shared object
library on your platform. You might need another switch, such as -shared
(the exact syntax can vary by platform).
HTH,
--Eljay
More information about the Gcc-help
mailing list