[Scons-users] [Scons-dev] blah is static and is not compatible... No it isn't!

Bill Deegan bill at baddogconsulting.com
Wed Mar 13 19:02:11 EDT 2013


Neal,

This is a user problem, please send to the users mailing list.
The dev mailing list is for developing SCons itself.

Where's the logic to build the mtrand.so ?

Thanks,
Bill

On Wed, Mar 13, 2013 at 12:01 PM, Neal Becker <ndbecker2 at gmail.com> wrote:


> scons: *** [test2.so] Source file:

> /home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-

> x86_64-2.7/numpy/random/mtrand.so is static and is not compatible with

> shared

> target: test2.so

> scons: building terminated because of errors.

>

> relevant part of SConstruct:

>

> mtrand = '/home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-

> x86_64-2.7/numpy/random/mtrand.so'

> for mod in ['test2']:

> Default (env.SharedLibrary (target=mod, source=[mod+'.os', mtrand],

> SHLIBPREFIX='', LIBS=libs))

> Default (env.SharedObject (target=mod, source=mod+'.cc'))

>

> file /home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-

> x86_64-2.7/numpy/random/mtrand.so

> /home/nbecker/rpmbuild/BUILD/numpy-1.7.0/build/lib.linux-

> x86_64-2.7/numpy/random/mtrand.so: ELF 64-bit LSB shared object, x86-64,

> version

> 1 (SYSV), dynamically linked,

> BuildID[sha1]=0xc43ab645baa811d5dc186fadd36dca368587e8eb, not stripped

>

> _______________________________________________

> Scons-dev mailing list

> Scons-dev at scons.org

> http://two.pairlist.net/mailman/listinfo/scons-dev

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130313/cbbd7d8e/attachment.htm>


More information about the Scons-users mailing list