tiger-user
[Top][All Lists]
Advanced

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

Re: [Tiger-user] Fedora Support?


From: Javier Fernández-Sanguino Peña
Subject: Re: [Tiger-user] Fedora Support?
Date: Wed, 4 Aug 2004 21:38:26 +0200
User-agent: Mutt/1.5.6+20040722i

On Wed, Aug 04, 2004 at 11:24:25AM -0500, address@hidden wrote:
> 
> I was wondering about Fedora support?  I've been able to get Tiger to
> install on RH 9.0, and  EL 3.0, but I can't get it to compile and install
> on Fedora core 2.  Here is were it crashes:

Well, I haven't tested it in Fedora, in any case:

> 
> cd c && make install
> make[1]: Entering directory `/usr/local/src/tiger/c'
> gcc -DNEEDGETWD -o getpermit getpermit.c
> gcc -DNEEDGETWD -o snefru snefru.c
> gcc -DNEEDGETWD -o md5 md5.c
> gcc -DNEEDGETWD -o testsuid testsuid.c
> gcc -DNEEDGETWD -o realpath realpath.c
> realpath.c:58: error: conflicting types for `getcwd'
> /usr/include/unistd.h:448: error: previous declaration of `getcwd'

Could you please do

$ grep getcwd /usr/include/unistd.h
[ in my system ]
extern char *getcwd (char *__buf, size_t __size) __THROW;

> realpath.c:59: error: conflicting types for `readlink'
> /usr/include/unistd.h:732: error: previous declaration of `readlink'

also do:
$ grep -A 1 readlink /usr/include/unistd.h
[ in my system ]
extern int readlink (__const char *__restrict __path, char *__restrict __buf,
                     size_t __len) __THROW;

> make[1]: *** [realpath] Error 1
> make[1]: Leaving directory `/usr/local/src/tiger/c'
> make: *** [install] Error 2
> 
> I know that Fedor is using a different version of glibc headers.  Could
> that be the issue?

Yes, that's probably the issue. The definitions above belong to a glibc 
version 2.3.2.ds1-13 (Debian). I could tweak the code to use those 
definitions if you provide more info...

Regards

Javier




reply via email to

[Prev in Thread] Current Thread [Next in Thread]