[amd64] hpoj.spec nie buduje się

Paweł Zaskórski p.zaskorski w wp.pl
Nie, 24 Kwi 2005, 11:36:43 CEST


Witam,

mam HP7260, próbowałem sobie zbudować paczkę ze sterownikami. Oto efekt
próby zbudowania tego pakietu w otoczeniu amd64-ac:

pawel w arrakis:~/rpm/SPECS$ ./builder -bb hpoj.spec
[...]
make[1]: Wejście do katalogu
`/home/users/pawel/rpm/BUILD/hpoj-0.91/lib/ptal'
cc -O2  -Wall  -DHAVE_SNMP
-I/home/users/pawel/rpm/BUILD/hpoj-0.91/include
-I/usr/include/net-snmp/library
-L/home/users/pawel/rpm/BUILD/hpoj-0.91/lib/hpojip
-L/home/users/pawel/rpm/BUILD/hpoj-0.91/lib/ptal
-L/home/users/pawel/rpm/BUILD/hpoj-0.91/lib/sane -L/usr/X11R6/lib64
-DVAR_RUN_PREFIX="\"/var/run\"" -DUCD_COMPATIBLE -fPIC -c -o
ptal.shared.o ptal.c
In file included from /usr/include/unistd.h:783,
                 from ptal.c:36:
/usr/include/net-snmp/library/getopt.h:8: error: syntax error before "int"
/usr/include/net-snmp/library/getopt.h:9: error: syntax error before "char"
/usr/include/net-snmp/library/getopt.h:10: error: syntax error before "int"
ptal.c: In function `ptalDeviceDump':
ptal.c:75: warning: cast from pointer to integer of different size
ptal.c:75: warning: cast from pointer to integer of different size
ptal.c:75: warning: cast from pointer to integer of different size
ptal.c:77: warning: cast from pointer to integer of different size
ptal.c:83: warning: cast from pointer to integer of different size
ptal.c:85: warning: cast from pointer to integer of different size
ptal.c:87: warning: cast from pointer to integer of different size
ptal.c:89: warning: cast from pointer to integer of different size
ptal.c:91: warning: cast from pointer to integer of different size
ptal.c:93: warning: cast from pointer to integer of different size
ptal.c: In function `ptalDump':
ptal.c:108: warning: cast from pointer to integer of different size
ptal.c:115: warning: cast from pointer to integer of different size
ptal.c: In function `ptalChannelDump':
ptal.c:578: warning: cast from pointer to integer of different size
ptal.c:578: warning: cast from pointer to integer of different size
ptal.c:578: warning: cast from pointer to integer of different size
ptal.c:580: warning: cast from pointer to integer of different size
ptal.c:580: warning: cast from pointer to integer of different size
make[1]: *** [ptal.shared.o] Błąd 1
make[1]: Opuszczenie katalogu
`/home/users/pawel/rpm/BUILD/hpoj-0.91/lib/ptal'
make: *** [just_compile] Błąd 2
błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.83457 (%build)

Błędy budowania RPM-a:
    Błędny status wyjścia z /var/tmp/rpm-tmp.83457 (%build)
Error: package build failed. (no more info)

Czy ktoś z developerów mógłby to skorygować? Niestety nie dysponuję
wiedzą by poprawić to osobiście :-( Z góry bardzo dziękuję!

-- 
Paweł M. Zaskórski
jid: pmz w jabberpl.org




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