where is alphasort() in S8?

From: Gérard Henry (ghenry@cmi.univ-mrs.fr)
Date: Mon Dec 11 2006 - 12:50:53 EST


hello,
i can't compile a source due to alphasort():
/usr/pkgsrc/pkgtools/pkgfind/work/pkgfind-20050804/pkgfind.c:138: error:
`alphasort' undeclared (first use in this function)

i think it is because, on solaris 8, alphasort() is in
/usr/ucbinclude/sys/dir.h
in solaris 10, it is in /usr/include/dirent.h
But in all cases, manual pages don't give extra flags to compile?

If i try to add "-I/usr/ucbinclude -L/usr/ucblib -lucb
-Wl,-R/usr/ucblib", there are more errors...

Is there a workaround? a patch?
I compile with gcc 3.4.6

thanks,

gerard

PS: i'm afraid the problem remains the same on Solaris 9
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:19 EDT