Hi all,
I'm trying to build rpms for systemimager-4.0.2 in a IBM system p wiht
Linux SuSe 10.2 installed, because I can't find rpms for this
architecture.
I make all the manual says, get the sources, install the dependences,
I did:

make source_tarball

and this works fine, and then:

rpmbuild -ta systemimager-4.0.2.tar.bz2

it begins fine, starts to compile, but then a few minutes later i get this:
-------------------------------
entropy.c: In function 'init_rng':
entropy.c:145: warning: format '%lx' expects type 'long unsigned int',
but argument 2 has type 'int'
scard-opensc.c:32:27: error: opensc/opensc.h: No such file or directory
scard-opensc.c:33:27: error: opensc/pkcs15.h: No such file or directory
scard-opensc.c:55: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
scard-opensc.c:56: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
scard-opensc.c:57: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
scard-opensc.c:63: error: field 'cert_id' has incomplete type
scard-opensc.c: In function 'sc_close':
scard-opensc.c:70: error: 'p15card' undeclared (first use in this function)
scard-opensc.c:70: error: (Each undeclared identifier is reported only once
scard-opensc.c:70: error: for each function it appears in.)
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
-I/usr/src/packages/BUILD/systemimager-4.0.2/src/openssl-0.9.7e
-I/usr/src/packages/BUILD/systemimager-4.0.2/src/zlib-1.2.3
-I/usr/include/opensc -DSSHDIR=\"/etc/ssh\"
-D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/libexec/ssh-keysign\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
gss-genr.c
scard-opensc.c:71: warning: implicit declaration of function 'sc_pkcs15_unbind'
scard-opensc.c:74: error: 'card' undeclared (first use in this function)
scard-opensc.c:75: warning: implicit declaration of function
'sc_disconnect_card'
scard-opensc.c:78: error: 'ctx' undeclared (first use in this function)
scard-opensc.c:79: warning: implicit declaration of function
'sc_release_context'
scard-opensc.c: In function 'sc_init':
scard-opensc.c:89: warning: implicit declaration of function
'sc_establish_context'
scard-opensc.c:89: error: 'ctx' undeclared (first use in this function)
scard-opensc.c:93: error: 'SC_ERROR_NO_READERS_FOUND' undeclared
(first use in this function)
scard-opensc.c:98: warning: implicit declaration of function 'sc_connect_card'
scard-opensc.c:98: error: 'card' undeclared (first use in this function)
scard-opensc.c:101: warning: implicit declaration of function 'sc_pkcs15_bind'
scard-opensc.c:101: error: 'p15card' undeclared (first use in this function)
scard-opensc.c: At top level:
scard-opensc.c:114: warning: 'struct sc_pkcs15_object' declared inside
parameter list
scard-opensc.c:114: warning: its scope is only this definition or
declaration, which is probably not what you want
scard-opensc.c: In function 'sc_prkey_op_init':
scard-opensc.c:126: error: 'p15card' undeclared (first use in this function)
scard-opensc.c:130: warning: implicit declaration of function 'sc_strerror'
scard-opensc.c:130: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c:134: warning: implicit declaration of function
'sc_pkcs15_find_prkey_by_id_usage'
scard-opensc.c:138: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c:141: error: dereferencing pointer to incomplete type
scard-opensc.c:142: warning: implicit declaration of function
'sc_pkcs15_find_pin_by_auth_id'
scard-opensc.c:142: error: dereferencing pointer to incomplete type
scard-opensc.c:144: error: 'SC_ERROR_OBJECT_NOT_FOUND' undeclared
(first use in this function)
scard-opensc.c:146: warning: implicit declaration of function 'sc_lock'
scard-opensc.c:146: error: 'card' undeclared (first use in this function)
scard-opensc.c:148: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c:155: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c:158: error: dereferencing pointer to incomplete type
scard-opensc.c:161: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c:165: warning: implicit declaration of function
'sc_pkcs15_verify_pin'
scard-opensc.c:168: warning: implicit declaration of function 'sc_unlock'
scard-opensc.c:170: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c: In function 'sc_private_decrypt':
scard-opensc.c:193: error: 'SC_PKCS15_PRKEY_USAGE_DECRYPT' undeclared
(first use in this function)
scard-opensc.c:193: error: 'SC_PKCS15_PRKEY_USAGE_UNWRAP' undeclared
(first use in this function)
scard-opensc.c:193: warning: passing argument 2 of 'sc_prkey_op_init'
from incompatible pointer type
scard-opensc.c:196: warning: implicit declaration of function
'sc_pkcs15_decipher'
scard-opensc.c:196: error: 'p15card' undeclared (first use in this function)
scard-opensc.c:196: error: 'SC_ALGORITHM_RSA_PAD_PKCS1' undeclared
(first use in this function)
scard-opensc.c:198: error: 'card' undeclared (first use in this function)
scard-opensc.c:200: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c: In function 'sc_sign':
scard-opensc.c:228: error: 'SC_PKCS15_PRKEY_USAGE_SIGN' undeclared
(first use in this function)
scard-opensc.c:228: error: 'SC_PKCS15_PRKEY_USAGE_SIGNRECOVER'
undeclared (first use in this function)
scard-opensc.c:228: warning: passing argument 2 of 'sc_prkey_op_init'
from incompatible pointer type
scard-opensc.c:233: error: 'SC_ALGORITHM_RSA_PAD_PKCS1' undeclared
(first use in this function)
scard-opensc.c:233: error: 'SC_ALGORITHM_RSA_HASH_SHA1' undeclared
(first use in this function)
scard-opensc.c:234: warning: implicit declaration of function
'sc_pkcs15_compute_signature'
scard-opensc.c:236: error: 'card' undeclared (first use in this function)
scard-opensc.c:239: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c: In function 'sc_get_rsa_method':
scard-opensc.c:291: warning: assignment from incompatible pointer type
scard-opensc.c:292: warning: assignment from incompatible pointer type
scard-opensc.c:293: warning: assignment from incompatible pointer type
scard-opensc.c: At top level:
scard-opensc.c:341: warning: 'struct sc_pkcs15_object' declared inside
parameter list
scard-opensc.c: In function 'sc_read_pubkey':
scard-opensc.c:344: error: 'sc_pkcs15_cert_t' undeclared (first use in
this function)
scard-opensc.c:344: error: 'cert' undeclared (first use in this function)
scard-opensc.c:346: error: 'sc_pkcs15_cert_info_t' undeclared (first
use in this function)
scard-opensc.c:346: error: 'cinfo' undeclared (first use in this function)
scard-opensc.c:346: error: dereferencing pointer to incomplete type
scard-opensc.c:350: error: 'u8' undeclared (first use in this function)
scard-opensc.c:350: error: 'p' undeclared (first use in this function)
scard-opensc.c:354: warning: implicit declaration of function
'sc_pkcs15_read_certificate'
scard-opensc.c:354: error: 'p15card' undeclared (first use in this function)
scard-opensc.c:356: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c:370: warning: implicit declaration of function
'sc_pkcs15_free_certificate'
scard-opensc.c: In function 'sc_get_keys':
scard-opensc.c:411: error: 'sc_pkcs15_id_t' undeclared (first use in
this function)
scard-opensc.c:411: error: expected ';' before 'cert_id'
scard-opensc.c:412: error: 'sc_pkcs15_object_t' undeclared (first use
in this function)
scard-opensc.c:412: error: 'certs' undeclared (first use in this function)
scard-opensc.c:421: error: 'cert_id' undeclared (first use in this function)
scard-opensc.c:425: warning: implicit declaration of function
'sc_pkcs15_hex_string_to_id'
scard-opensc.c:431: error: 'p15card' undeclared (first use in this function)
scard-opensc.c:435: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c:440: warning: implicit declaration of function
'sc_pkcs15_find_cert_by_id'
scard-opensc.c:445: warning: implicit declaration of function
'sc_pkcs15_get_objects'
scard-opensc.c:445: error: 'SC_PKCS15_TYPE_CERT_X509' undeclared
(first use in this function)
scard-opensc.c:453: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c:460: error: 'tmp_obj' undeclared (first use in this function)
scard-opensc.c:461: error: 'sc_pkcs15_cert_info_t' undeclared (first
use in this function)
scard-opensc.c:461: error: expected expression before ')' token
scard-opensc.c:462: warning: implicit declaration of function
'sc_pkcs15_find_prkey_by_id'
scard-opensc.c:471: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c: In function 'sc_get_key_label':
scard-opensc.c:507: error: 'p15card' undeclared (first use in this function)
scard-opensc.c:515: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
scard-opensc.c:518: error: dereferencing pointer to incomplete type
scard-opensc.c:522: error: dereferencing pointer to incomplete type
make[1]: *** [scard-opensc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/usr/src/packages/BUILD/systemimager-4.0.2/src/openssh-3.9p1'
make: *** [/usr/src/packages/BUILD/systemimager-4.0.2/src/openssh-3.9p1/sshd]
Error 2
error: Bad exit status from /var/tmp/rpm-tmp.14882 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.14882 (%build)
------------------------------------------

So, I don't know if maybe I need something else, or maybe there is a
wrong version of the openssh source package .. Any ideas?

Thanks!

-- 
Christian Sánchez
Usuario GNU/Linux 234800
Jabber ID: [EMAIL PROTECTED]
Maracay - Venezuela
http://g013m.com.ve

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
sisuite-devel mailing list
sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to