[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-current-users
Subject:    Re: Anyone else having troubles compiling lib/keyring.ln in netpgp?
From:       Matt Thomas <matt () 3am-software ! com>
Date:       2011-06-27 18:57:56
Message-ID: 3CCBA0E6-8292-42A8-896B-D8512D3EB1D2 () 3am-software ! com
[Download RAW message or body]


On Jun 27, 2011, at 8:26 AM, Hisashi T Fujinaka wrote:

> On Mon, 27 Jun 2011, tsugutomo.enami@jp.sony.com wrote:
> 
> > Hisashi T Fujinaka <htodd@twofifty.com> writes:
> > 
> > > On Mon, 27 Jun 2011, tsugutomo.enami@jp.sony.com wrote:
> > > 
> > > > Hisashi T Fujinaka <htodd@twofifty.com> 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

I did a fresh amd64 build without these failures.  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic