Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Anyone else having troubles compiling lib/keyring.ln in netpgp?



On Mon, 27 Jun 2011, tsugutomo.enami%jp.sony.com@localhost wrote:

Hisashi T Fujinaka <htodd%twofifty.com@localhost> writes:

On Mon, 27 Jun 2011, tsugutomo.enami%jp.sony.com@localhost wrote:

Hisashi T Fujinaka <htodd%twofifty.com@localhost> writes:

#   compile  lib/keyring.ln
CC=/usr/src/obj.amd64/tooldir.NetBSD-5.99.53-amd64/bin/x86_64--netbsd-gcc
/usr/src/obj.amd64/tooldir.NetBSD-5.99.53-amd64/bin/x86_64--netbsd-lint
-chapbxzFS -d /usr/include -I/usr/src/crypto/external/bsd/netpgp/lib
-I/usr/src/crypto/external/bsd/netpgp/lib/../dist/include
-D_FORTIFY_SOURCE=2 -i

lint is told to look at /usr/include and I guess mj.h there is old one.

Build using build.sh works for me since it populates headers into
$DESTDIR/usr/include and tell lint to look at there.

No, since I'm doing a clean ./build.sh.

I'm not sure what your ``No'' means but -d /usr/include is actually
passed to the lint in your log (which is quoted above).

A "clean build" (no -u) yields the following:

#     build  lib/libnetpgp.so.3.0
rm -f libnetpgp.so.3.0
/usr/src/obj.amd64/tooldir.NetBSD-5.99.53-amd64/bin/x86_64--netbsd-gcc  -Wl,-x 
-shared -Wl,-soname,libnetpgp.so.3 -Wl,--warn-shared-
textrel  -m32 --sysroot=/usr/src/obj.amd64/destdir.amd64 -Wl,--fatal-warnings   
-o libnetpgp.so.3.0  -Wl,-rpath,/usr/lib/i386  -L=/u
sr/lib/i386  -Wl,--whole-archive libnetpgp_pic.a -Wl,--no-whole-archive -m32 
-L/usr/src/compat/amd64/i386/obj.amd64/crypto/external/bsd/netpgp/libmj -lmj 
-L/usr/src/compat/amd64/i386/obj.amd64/crypto/external/bsd/openssl/lib/libcrypto
 -lcrypto -L/usr/src/compat/amd64/i386/obj.amd64/lib/libz -lz 
-L/usr/src/compat/amd64/i386/obj.amd64/lib/libbz2 -lbz2
/usr/obj/.amd64/tooldir.NetBSD-5.99.53-amd64/bin/../lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
 warning: creatin
g a DT_TEXTREL in a shared object.
collect2: ld returned 1 exit status

*** Failed target:  libnetpgp.so.3.0
*** Failed command: 
/usr/src/obj.amd64/tooldir.NetBSD-5.99.53-amd64/bin/x86_64--netbsd-gcc -Wl,-x 
-shared -Wl,-soname,libnetpgp.so.3
 -Wl,--warn-shared-textrel -m32 --sysroot=/usr/src/obj.amd64/destdir.amd64 
-Wl,--fatal-warnings -o libnetpgp.so.3.0 -Wl,-rpath,/usr/
lib/i386 -L=/usr/lib/i386 -Wl,--whole-archive libnetpgp_pic.a 
-Wl,--no-whole-archive -m32 
-L/usr/src/compat/amd64/i386/obj.amd64/crypto/external/bsd/netpgp/libmj -lmj 
-L/usr/src/compat/amd64/i386/obj.amd64/crypto/external/bsd/openssl/lib/libcrypto
 -lcrypto -L/usr/src/compat/amd64/i386/obj.amd64/lib/libz -lz 
-L/usr/src/compat/amd64/i386/obj.amd64/lib/libbz2 -lbz2
*** Error code 1


--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index