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

compile problem



This time:
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -mpentium -c assemble.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -mpentium -c  -fPIC -DPIC assemble.c -o assemble.lo
In file included from assemble.c:7:
db.h:45: warning: parameter names (without types) in function declaration
db.h:47: parse error before `captab_get'
db.h:47: warning: data definition has no type or storage class
db.h:83: parse error before `*'
db.h:83: warning: data definition has no type or storage class
make[2]: *** [assemble.lo] Error 1
make[2]: Leaving directory `/home/admins/misiek/rpm/BUILD/rlinetd-0.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/admins/misiek/rpm/BUILD/rlinetd-0.5'
make: *** [all-recursive-am] Error 2
Błędny status wyjścia z /var/tmp/rpm-tmp.62788 (%build)
[misiek@linstar SPECS]$
I don't have HAVE_SYS_CAPABILITY_H defined. IMHO in such case capability
support shouldn't be compiled in, even if HAVE_LIBCAP is defined.

In db.h rather should be
-#include <config.h>
+#include "config.h"
(that same in strings.c, main.c grammar.y, engine.c,
db.c, data.h, bytecode)


Also macro AC_CHECK_HEADER sometimes doesn't work properly, so:
-AC_CHECK_HEADER(tcpd.h, libsrlinetd="${libsrlinetd} -lwrap"
+AC_CHECK_HEADERS(tcpd.h, libsrlinetd="${libsrlinetd} -lwrap"

-- 
arkadiusz miśkiewicz        [misiek@misiek.eu.org]
[P]olish [L]inux [D]istribution with IPv6 support
http://www.ipv6.pld.org.pl/ http://www.pld.org.pl/