[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling Siag on SGI O2 IRIX6.3



Hello

I'm trying to compile Siag on a SGI O2 machine (IRIX6.3). I've some
trouble with file  slibu.c, the complete error message is:

slibu.c: In function `lgetcwd':
slibu.c:166: `PATH_MAX' undeclared (first use in this function)
slibu.c:166: (Each undeclared identifier is reported only once
slibu.c:166: for each function it appears in.)
slibu.c:166: size of array `path' has non-integer type
slibu.c: In function `lgetpwent':
slibu.c:254: warning: implicit declaration of function `getpwent'
slibu.c:254: warning: assignment makes pointer from integer without a
cast
slibu.c: In function `lsetpwent':
slibu.c:261: warning: implicit declaration of function `setpwent'
slibu.c: In function `lendpwent':
slibu.c:267: warning: implicit declaration of function `endpwent'
slibu.c: In function `lputpwent':
slibu.c:284: warning: implicit declaration of function `putpwent'
slibu.c: In function `lsymlink':
slibu.c:318: warning: implicit declaration of function `symlink'
slibu.c: In function `lreadlink':
slibu.c:357: `PATH_MAX' undeclared (first use in this function)
slibu.c:357: size of array `buff' has non-integer type
slibu.c:360: warning: implicit declaration of function `readlink'
slibu.c: In function `l_lstat':
slibu.c:964: `lstat' undeclared (first use in this function)
slibu.c: In function `lfchmod':
slibu.c:1005: warning: implicit declaration of function `fchmod'
slibu.c: In function `gsetlk':
slibu.c:1036: warning: implicit declaration of function `fcntl'
slibu.c: In function `usleep':
slibu.c:1273: storage size of `x' isn't known
slibu.c:1276: warning: implicit declaration of function `nanosleep'
slibu.c:1273: warning: unused variable `x'
slibu.c: In function `url_decode':
slibu.c:1321: warning: subscript has type `char'
slibu.c:1321: warning: subscript has type `char'
slibu.c:1335: warning: subscript has type `char'
slibu.c: In function `l_lchown':
slibu.c:1444: warning: implicit declaration of function `lchown'
slibu.c: In function `lchdir':
slibu.c:1767: warning: implicit declaration of function `fchdir'
gmake[2]: *** [slibu.o] Error 1
gmake[2]: Leaving directory `/usr/people/dumas/siag-3.1.0/siod'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/people/dumas/siag-3.1.0'
gmake: *** [all-recursive-am] Error 2

I've solved this probleme in suppressing some #DEFINE in his file.

But my last probleme is this error:
ld: ERROR 33: Unresolved text symbol "dbm_dirfno" -- 1st referenced by
../siod/libsiod.a(ndbm.o).

Where come from this function ?


Best Regards.

-- 
Emmanuel DUMAS, Centre CYCERON, CNRS UMR 6551, Caen France
Emmanuel.Dumas@cyceron.fr http://www.cyceron.fr/~dumas/
Tel: 33 (0) 231 47 02 07