functions alphasort and scandir missing
Wed Nov 7 14:09:00 GMT 2001
I'm trying to write a a programs that need to use functions scandir and
I have tho environments: conectiva linux (Red Hat derivated
distribution) with gcc 2.91.66 and Solaris 8 intel wirh gcc 2.95.3.
In Linux the program functions OK, compiles with no options and with no
errors. In Solaris, i get the folow warning:
warning: passing arg 2 of `scandir' from incompatible pointer type
and alphasort and scandir can't be found by ln:
Undefined first referenced
symbol in file
ld: fatal: Symbol referencing errors. No output written to monitor
collect2: ld returned 1 exit status
Anybody can help me ?
More information about the Gcc-help