Donate Share

XArchive

Tracker: Bugs

5 Compile Errors On Solaris 8 - ID: 1567166
Last Update: Comment added ( ligelowbee )

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.


David Davis ( davisd50 ) - 2006-09-28 16:37

5

Open

None

Nobody/Anonymous

Interface (example)

v1.0 (example)

Public


Comment ( 1 )




Date: 2007-03-01 19:25
Sender: ligelowbeeProject AdminAccepting Donations


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



Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.