Jeff Johnson schrieb:
CC added to rpm-devel@xxxxxxxxxxxxxxxxxxxx, where you're more likely
to find rpm-4.4.8 help.
On Mar 26, 2007, at 11:30 PM, Marcus Habermehl (BMH1980) wrote:
...
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build -I../rpmdb
-I../rpmio -I../file/src -I/usr/include/beecrypt -I../popt -I../misc
-I../zlib -O2 -g -march=i686 -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts -MT rpmds.lo -MD -MP -MF .deps/rpmds.Tpo -c
rpmds.c -fPIC -DPIC -o .libs/rpmds.o
rpmds.c:3180: error: expected ')' before 'PRCO'
...
I can't C. So I haven't any idea what's the problem. Can someone help
me to build rpm?
You're missing a typedef for rpmPRCO somehow.
What platform? What compiler?
$ uname -a
Linux phobos 2.6.17.13 #1 Tue Sep 19 00:33:59 CEST 2006 i686 pentium4
i386 GNU/Linux
$ gcc --version
gcc (GCC) 4.1.1
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The patch from Tim's mail has solved the problem. Maybe it's the missing
typedef?
Best regards
Marcus
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list