Problem z kompilacją pakietów

Jacek Smyda smyda w posexperts.com.pl
Pon, 6 Mar 2000, 12:12:42 CET


Witam!

Podczas kompilacji nowych wersji pakietów wystąpiły błędy kompilacji.

1). net-tools

[...]
cc -O2 -mpentiumpro -Wall -I. -idirafter ./include/ -Ilib -I/home/jacek/RPM/BUILD/net-tools-1.54 -idirafter /home/jacek/RPM/BUILD/net-tools-1.54/include    -c tr.c -o tr.o
tr.c:131: `pr_str' undeclared here (not in a function)
tr.c:131: initializer element is not constant
tr.c:131: (near initialization for `tr_hwtype1.input')
tr.c:131: warning: initialization from incompatible pointer type
tr.c:132: warning: initialization makes integer from pointer without a cast
make[1]: *** [tr.o] Error 1
make[1]: Leaving directory `/home/jacek/RPM/BUILD/net-tools-1.54/lib'
make: *** [subdirs] Error 2
Błędny status wyjścia z /var/tmp/rpm-tmp.53866 (%build)

2). procps

[...]
gcc -D_GNU_SOURCE -O2 -mpentiumpro -pipe -I. -I/usr/include/ncurses -I/usr/X11R6/include -Wall -Wno-unused -c watch.c
In file included from /usr/include/ucontext.h:27,
                 from /usr/include/signal.h:317,
                 from watch.c:19:
/usr/include/sys/ucontext.h:74: warning: `ERR' redefined
/usr/include/ncurses/ncurses.h:195: warning: this is the location of the previous definition
In file included from /usr/include/ucontext.h:27,
                 from /usr/include/signal.h:317,
                 from watch.c:19:
/usr/include/sys/ucontext.h:73: parse error before `('
watch.c: In function `main':
watch.c:212: `ERR' undeclared (first use in this function)
watch.c:212: (Each undeclared identifier is reported only once
watch.c:212: for each function it appears in.)
make: *** [watch.o] Error 1
Błędny status wyjścia z /var/tmp/rpm-tmp.2966 (%build)

Czy ktoś wie dlaczego pojawiły się u mnie?
Wszystko z aktualnego CVS.

Pozdrawiam
	Jacek
-- 
--------------------------------------------------------------------
 Jacek Smyda                                smyda w posexperts.com.pl
--------------------------------------------------------------------
 POS Experts Consulting                http://www.posexperts.com.pl



Więcej informacji o liście dyskusyjnej pld-devel-pl