I suspect that errno is not a simple integer. Make sure you don't have a declaration like:
extern int errno;
which would trigger the message below.
Steve
On Oct 12, 2005, at 2:48 PM, Abe Stephens wrote:
Abhinav Dayal wrote:
/home/abhinav/Manta-AFR/linux/lib/libManta_UserInterface.so: undefinedI think that the Intel compiler automatically includes "errno" in the standard library.
reference to `errno'
collect2: ld returned 1 exit status
make[2]: *** [bin/afr] Error 1
make[2]: Leaving directory `/home/abhinav/Manta-AFR/linux'
make[1]: *** [StandAlone/CMakeFiles/afr.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Does anyone know how to link to something that defines errno on gcc/ opteron??
Abe
Archive powered by MHonArc 2.6.16.