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

bswap16{32} problem



Hello,

I will compile heimdal 0.8.1 on NetBSD-current but I have the following 
error messages:

/bin/ksh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I. -I../                    ../include  -DBUILD_ROKEN_LIB 
-DBUILD_ROKEN_LIB -Wall -Wmissing-prototypes -Wpoi                    
nter-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs 
-DINET6 -                    g -O2 -c -o libroken_la-bswap.lo `test -f 
'bswap.c' || echo './'`bswap.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../../include -DBUILD_ROKEN_LIB 
-DBUILD_ROKEN_LIB                     -Wall -Wmissing-prototypes 
-Wpointer-arith -Wbad-function-cast -Wmissing-declar                    
ations -Wnested-externs -DINET6 -g -O2 -c bswap.c  -fPIC -DPIC -o 
.libs/libroken                    _la-bswap.o
In file included from bswap.c:37:
roken.h:149: error: expected declaration specifiers or '...' before '(' 
token
roken.h:149: error: expected ')' before '?' token
roken.h:151: error: expected declaration specifiers or '...' before '(' 
token
roken.h:151: error: expected ')' before '?' token
bswap.c:44: error: expected declaration specifiers or '...' before '(' token
bswap.c:44: error: expected ')' before '?' token
bswap.c:56: error: expected declaration specifiers or '...' before '(' token
bswap.c:56: error: expected ')' before '?' token
*** Error code 1

Stop.
make: stopped in /usr/pkg/src/heimdal-0.8.1/lib/roken
*** Error code 1

Stop.
make: stopped in /usr/pkg/src/heimdal-0.8.1/lib/roken
*** Error code 1

Stop.
make: stopped in /usr/pkg/src/heimdal-0.8.1/lib
*** Error code 1

Stop.
make: stopped in /usr/pkg/src/heimdal-0.8.1

The configurations options are:

export LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib 
-L/usr/X11R6/lib"
export CPPFLAGS="-I/usr/pkg/include -I/usr/X11R6/include"
./configure --sysconfdir=/usr/pkg/etc --localstatedir=/var/heimdal \
 --enable-kcm --with-readline=/usr --with-openssl=/usr \
  --prefix=/usr/pkg --host=i386--netbsdelf --enable-pthread-support \
   --enable-shared --with-openldap=/usr/pkg --with-readline=/usr

Can you give me any hints what the problem is?

TIA
Feri