I am trying to compile the program on Solaris 8, but
it looks like some function calls are not available
in Solaris 8. In particular I've had issues with the
following:
FNM_CASEFOLD
<snip>
main.c:103: error: `FNM_CASEFOLD' undeclared (first
use in this function)
main.c:103: error: (Each undeclared identifier is
reported only once
main.c:103: error: for each function it appears in.)
main.c: In function `setup_wrappers':
main.c:129: warning: implicit declaration of function
`scandir'
main.c:129: error: `alphasort' undeclared (first use
in this function)
main.c: In function `get_wrapper':
main.c:205: error: `FNM_CASEFOLD' undeclared (first
use in this function)
<snip>
Apearently "FNM_CASEFOLD" is not available in
Solaris. I changed FNM_CASEFOLD to 0 (the number 0),
then compiled again. Now I ran into:
<snip>
main.c:129: error: `alphasort' undeclared (first use
in this function)
main.c:129: error: (Each undeclared identifier is
reported only once
main.c:129: error: for each function it appears in.)
<snip>
Again, I changed this value to 0, then compiled
again. Now I ran into:
<snip>
Undefined first referenced
symbol in file
fgetln main.o
strcasestr widgets_gtk.o
scandir main.o
ld: fatal: Symbol referencing errors. No output
written to xarchive
collect2: ld returned 1 exit status
make[2]: *** [xarchive] Error 1
<snip>
After looking into this a little, it does not look
like these functions are available in Solaris 8. It
looks like there are some alternative functions that
could be used (like fgets() for example).
I would make the fixes, but I am not familiar enough
with C.
Logged In: YES
user_id=818013
Originator: NO
Unfortunately I don't have access to a solaris 8 machine, but I don't think the fixes would be that hard.
Anyone Solaris folks interesed?
Lee