Cedric Degea
2003-08-11 21:42:02 UTC
arcdos.o(.text+0x119): undefined reference to `utimes'
arcmisc.o(.text+0x20b): undefined reference to `scandir'
Just a word about this one...arcmisc.o(.text+0x20b): undefined reference to `scandir'
arcmisc.o(.text+0x5cf): undefined reference to `getwd'
collect2: ld returned 1 exit status
Is there a transcript/typo in the above? If not, then therecollect2: ld returned 1 exit status
probably is one in the source, which I suppose should read
getcwd()
rather than getwd;
make: *** [arc] Error 1
utimes is in <sys/time.h> but what must I link to resolve, as well as
the scandir and getwd?
A reference to getcwd() will then link, since it's in libroot.so (implicit link dep.).utimes is in <sys/time.h> but what must I link to resolve, as well as
the scandir and getwd?
/boot/develop/headers/posix/unistd.h:extern char *getcwd(char *buffer, size_t size);
--
PGP key: http://cdegea.free.fr/degea_kagi_pubkey.txt | BeDev E-16870
"If you do not know which operating system you are running, most likely
it is Windows." -- Opera's registration page, circa 2001.
PGP key: http://cdegea.free.fr/degea_kagi_pubkey.txt | BeDev E-16870
"If you do not know which operating system you are running, most likely
it is Windows." -- Opera's registration page, circa 2001.