To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=61260
                  Issue #:|61260
                  Summary:|/usr/lib/libxml2.so: could not read symbols: File in
                          |wrong format
                Component:|porting
                  Version:|680m151
                 Platform:|PC
                      URL:|
               OS/Version:|Linux
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|mh
              Reported by:|glennd





------- Additional comments from [EMAIL PROTECTED] Sat Jan 28 02:13:26 -0800 
2006 -------
Compile fails with error on linux Suse 10 x86_64 platform. 
Trying to compile oo by following these instructions 

http://wiki.services.openoffice.org/wiki/Porting_to_x86-64_%28AMD64%2C_EM64T%29

system info # uname -a
Linux dhcppc0 2.6.13-15.7-default #1 Tue Nov 29 14:32:29 UTC 2005 x86_64 x86_64
x86_64 GNU/Linux

Steps to reproduce - these bits work ok.

# export CVSROOT=':pserver:[EMAIL PROTECTED]:/cvs/gnome'
# cvs login
# cvs -z3 checkout -P ooo-build
# cd ooo-build
# ./autogen.sh
# ./configure  --with-distro=NLD64 --with-nss=/usr/include/nss
# ./download

The make fails with following error.

# make
.
.
.
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../..
-I../../include -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__
-DXMLSEC_NO_SIZE_T -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1 -I/usr/include/nspr
-I/usr/include/nss -DXMLSEC_CRYPTO_NSS=1 -I/usr/include/libxml2 -MT tokens.lo
-MD -MP -MF .deps/tokens.Tpo -c tokens.c -o
 tokens.o >/dev/null 2>&1                                                      
                                                                               
         if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -DPACKAGE=\"xmlsec1\" -I../.. -I../../include -DXMLSEC_LIBXML_260=1 
-D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_XSLT=1
-DXMLSEC_NO_XKMS=1 -I/usr/include/nspr -I/usr/include/nss  
-DXMLSEC_CRYPTO_NSS=1  -I/usr/include/libxml2        -MT key
trans.lo -MD -MP -MF ".deps/keytrans.Tpo" -c -o keytrans.lo keytrans.c; \      
                                                                               
         then mv -f ".deps/keytrans.Tpo" ".deps/keytrans.Plo"; else rm -f
".deps/keytrans.Tpo"; exit 1; fi                                               
                         gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DPACKAGE=\"xmlsec1\" -I../.. -I../../include -DXMLSEC_LIBXML_260=1
-D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_N
O_XSLT=1 -DXMLSEC_NO_XKMS=1 -I/usr/include/nspr -I/usr/include/nss
-DXMLSEC_CRYPTO_NSS=1 -I/usr/include/libxml2 -MT keytrans.lo -MD -MP -MF
.deps/keytrans.Tpo -c keytrans.c  -fPIC -DPIC -o .libs/keytrans.o              
                                                                               
                                       gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DPACKAGE=\"xmlsec1\" -I../.. -I../../include -DXMLSEC_LIBXML_260=1
-D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_N
O_XSLT=1 -DXMLSEC_NO_XKMS=1 -I/usr/include/nspr -I/usr/include/nss
-DXMLSEC_CRYPTO_NSS=1 -I/usr/include/libxml2 -MT keytrans.lo -MD -MP -MF
.deps/keytrans.Tpo -c keytrans.c -o keytrans.o >/dev/null 2>&1                 
                                                                               
                                      if /bin/sh ../../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../..
-I../../include -DXMLSEC_LIBXML_260=1  -D__XMLSEC_FUNCTION__=__
FUNCTION__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1
-I/usr/include/nspr -I/usr/include/nss   -DXMLSEC_CRYPTO_NSS=1 
-I/usr/include/libxml2        -MT keywrapers.lo -MD -MP -MF
".deps/keywrapers.Tpo" -c -o keywrapers.lo keywrapers.c; \                     
                                                                  then mv -f
".deps/keywrapers.Tpo" ".deps/keywrapers.Plo"; else rm -f
".deps/keywrapers.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\" -I../..
-I../../include -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__
-DXMLSEC_NO_SIZE_T -DXMLSEC_NO_XSLT=1 -DXMLSEC_NO_XKMS=1 -I/usr/include/nspr
-I/usr/include/nss -DXMLSEC_CRYPTO_NSS=1 -I/usr/include/libxml2 -MT
keywrapers.lo -MD -MP -MF .deps/keywrapers.Tpo -c keywrapers.c  -fPIC -DPIC -o
.libs/keywrapers.o
keywrapers.c: In function ‘xmlSecNssKeyWrapAesOp’:                             
                                                                               
         keywrapers.c:810: warning: pointer targets in passing argument 3 of
‘PK11_DigestFinal’ differ in signedness                                        
                      gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPACKAGE=\"xmlsec1\"
-I../.. -I../../include -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__
-DXMLSEC_NO_SIZE_T -DXMLSEC_N
O_XSLT=1 -DXMLSEC_NO_XKMS=1 -I/usr/include/nspr -I/usr/include/nss
-DXMLSEC_CRYPTO_NSS=1 -I/usr/include/libxml2 -MT keywrapers.lo -MD -MP -MF
.deps/keywrapers.Tpo -c keywrapers.c -o keywrapers.o >/dev/null 2>&1           
                                                                               
                                    /bin/sh ../../libtool --mode=link gcc   
-Wl,-rpath,'$ORIGIN' -o libxmlsec1-nss.la -rpath /usr/local/lib -version-info
3:6:2  akmngr.lo app.lo bignum.lo ciphers.lo crypt
o.lo digests.lo hmac.lo pkikeys.lo signatures.lo symkeys.lo x509.lo x509vfy.lo
keysstore.lo tokens.lo keytrans.lo keywrapers.lo  ../libxmlsec1.la -L/usr/lib
-lnss3 -lsmime3 -lssl3 -lsoftokn3 -lplds4 -lplc4 -lnspr4    -lxml2 -lz -lm     
                                                                               
                     gcc -shared  .libs/akmngr.o .libs/app.o .libs/bignum.o
.libs/ciphers.o .libs/crypto.o .libs/digests.o .libs/hmac.o .libs/pkikeys.o
.libs/signatures.o .libs/symkeys.o .li
bs/x509.o .libs/x509vfy.o .libs/keysstore.o .libs/tokens.o .libs/keytrans.o
.libs/keywrapers.o  -L/usr/lib64 ../.libs/libxmlsec1.so -L/usr/lib -lnss3
-lsmime3 -lssl3 -lsoftokn3 -lplds4 -lplc4 -lnspr4 /usr/lib/libxml2.so -lz -lm 
-Wl,-rpath -Wl,\$ORIGIN -Wl,-soname -Wl,libxmlsec1-nss.so.1 -o
.libs/libxmlsec1-nss.so.1.2.6                 /usr/lib/libxml2.so: could not
read symbols: File in wrong format
collect2: ld returned 1 exit status                                            
                                                                               
         make[4]: *** [libxmlsec1-nss.la] Error 1                              
                                                                               
                  make[4]: Leaving directory
`/wwwdwn/oo/64bit-oo/u/ooo-build/build/src680-m151/libxmlsec/unxlngx6.pro/misc/build/xmlsec1-1.2.6/src/nss'
make[3]: *** [all-recursive] Error 1                                           
                                                                               
         make[3]: Leaving directory
`/wwwdwn/oo/64bit-oo/u/ooo-build/build/src680-m151/libxmlsec/unxlngx6.pro/misc/build/xmlsec1-1.2.6/src'
                                      make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/wwwdwn/oo/64bit-oo/u/ooo-build/build/src680-m151/libxmlsec/unxlngx6.pro/misc/build/xmlsec1-1.2.6'
                                          make[1]: *** [all] Error 2           
                                                                               
                                                   make[1]: Leaving directory
`/wwwdwn/oo/64bit-oo/u/ooo-build/build/src680-m151/libxmlsec/unxlngx6.pro/misc/build/xmlsec1-1.2.6'
dmake:  Error code 2, while making
'./unxlngx6.pro/misc/build/so_built_so_xmlsec1'                                
                                                      '---* tg_merge.mk *---'  
                                                                               
                                                               
ERROR: Error 65280 occurred while making
/wwwdwn/oo/64bit-oo/u/ooo-build/build/src680-m151/libxmlsec                    
                                                make: *** [stamp/build] Error 1
dhcppc0:~/wwwdwn/oo/64bit-oo/u/ooo-build #

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to