ERRORS: audit.spec

Paweł Sikora pluto w agmk.net
Śro, 28 Wrz 2005, 17:44:58 CEST


Dnia środa, 28 września 2005 17:33, napisałeś:
> audit.spec (HEAD): FAILED
>
> (...)
> ../libtool
> --tag=CC --mode=link x86_64-pld-linux-gcc -D_REENTRANT -march=x86-64 -O2
> -ggdb   -o auditd -pie auditd-auditd.o auditd-auditd-event.o
> auditd-auditd-config.o auditd-auditd-reconfig.o -lpthread -Lmt -lauditmt
> mkdir .libs
> x86_64-pld-linux-gcc -D_REENTRANT -march=x86-64 -O2 -ggdb -o auditd -pie
> auditd-auditd.o auditd-auditd-event.o auditd-auditd-config.o
> auditd-auditd-reconfig.o  -lpthread
> -L/home/users/builder/rpm/BUILD/audit-1.0.3/src/mt -lauditmt /usr/bin/ld:
> auditd-auditd.o: relocation R_X86_64_32 against `a local symbol' can not be
> used when making a shared object; recompile with -fPIC auditd-auditd.o:
> could not read symbols: Bad value
> collect2: ld returned 1 exit status

$ cvs diff -u -r1.2 -r1.3 audit.spec

(...)
-%{__make}
+# override auditd_CFLAGS to avoid -fPIE unsupported by gcc 3.3
+%{__make} \
+       auditd_CFLAGS=
(...)
+Revision 1.3  2005/06/17 22:05:47  qboosh
+- use updated <linux/audit.h>, builds now
+

-- 
The only thing necessary for the triumph of evil
  is for good men to do nothing.
                                           - Edmund Burke



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