[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
des: compilation error on MacOS X
From: |
Bruno Haible |
Subject: |
des: compilation error on MacOS X |
Date: |
Mon, 12 Mar 2007 01:12:26 +0100 |
User-agent: |
KMail/1.5.4 |
Hi Simon,
On MacOS X 10.3.9 the 'gc-gnulib' (or 'gc-des') module fails to build:
depbase=`echo gc-gnulib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC
-DEXEEXT=\"\" -I. -I.. -I../intl -Wall -g -O2 -MT gc-gnulib.o -MD -MP -MF
$depbase.Tpo -c -o gc-gnulib.o gc-gnulib.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from gc-gnulib.c:65:
des.h:62: error: conflicting types for `des_setkey'
/usr/include/unistd.h:196: error: previous declaration of `des_setkey'
make[3]: *** [gc-gnulib.o] Error 1
The declaration in /usr/include/unistd.h looks like this:
int des_setkey(const char *key);
which is clearly different from the one in gnulib's des.h:
extern void
des_setkey (des_ctx *ctx, const char * key);
Bruno
- des: compilation error on MacOS X,
Bruno Haible <=