Compile RPM 4.1

Florian Lindner Florian.Lindner at xgm.de
Sat Nov 16 11:27:06 PST 2002


Hello,
I want to compile RPM 4.1 linked static after chapter 5.

export LDFLAGAS=-static
./configure --enable-static --prefix=$LFS/static --disable-nls
Without errors.

make:

/bin/sh ../libtool --mode=compile gcc -s -DHAVE_CONFIG_H -I. -I. -I.. -I. 
-I.. -I../build -I../rpmdb -I../rpmio -I../popt -I../zlib    -O2 
-march=athlon-tbird -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wno-char-subscripts -c -o poptALL.lo `test -f 'poptALL.c' || echo 
'./'`poptALL.c
rm -f .libs/poptALL.lo
gcc -s -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../build -I../rpmdb 
-I../rpmio -I../popt -I../zlib -O2 -march=athlon-tbird -fomit-frame-pointer 
-D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wno-char-subscripts -c poptALL.c -MT poptALL.lo -MD 
-MP -MF .deps/poptALL.TPlo  -fPIC -DPIC -o .libs/poptALL.lo
poptALL.c: In function `rpmcliInit':
poptALL.c:338: parse error before ';' token
make[3]: *** [poptALL.lo] Error 1
make[3]: Leaving directory `/home/lfs/build/static/src/rpm-4.1/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/lfs/build/static/src/rpm-4.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lfs/build/static/src/rpm-4.1'
make: *** [all] Error 2

Anybody who can help me?
Thanks,
Florian
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list