plainblack.com
Username Password
search
Bookmark and Share

    

Compiling wre on Ubuntu 11.10

User Bender
Date 11/4/2011 7:03 am
Views 474
Rating 0    Rate [
|
]
Previous · Next
User Message
Bender

Compiling wre on Ubuntu 11.10

I recive this error,how can I solve it?

 miniperlmain.o opmini.o 
/usr/bin/ld: /data/wre/prereqs/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.53-system.20110810.so)
pp.o: In function `Perl_pp_pow':
pp.c:(.text+0x3249): undefined reference to `pow'
pp.o: In function `Perl_pp_modulo':
pp.c:(.text+0x3f91): undefined reference to `floor'
pp.c:(.text+0x3fca): undefined reference to `floor'
pp.c:(.text+0x4375): undefined reference to `fmod'
pp.o: In function `Perl_pp_atan2':
pp.c:(.text+0x9311): undefined reference to `atan2'
pp.o: In function `Perl_pp_sin':
pp.c:(.text+0x940e): undefined reference to `sin'
pp.c:(.text+0x94ed): undefined reference to `sqrt'
pp.c:(.text+0x95a3): undefined reference to `cos'
pp.c:(.text+0x95bb): undefined reference to `log'
pp.c:(.text+0x95d3): undefined reference to `exp'
pp.o: In function `Perl_pp_int':
pp.c:(.text+0x9ac1): undefined reference to `floor'
pp.c:(.text+0x9ae1): undefined reference to `ceil'
pp_pack.o: In function `S_pack_rec':
pp_pack.c:(.text+0x33d7): undefined reference to `floor'
pp_pack.c:(.text+0x3402): undefined reference to `floor'
pp_pack.c:(.text+0x342b): undefined reference to `floor'
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1
WRE ERROR: Perl make did not complete successfully.

--- (Edited on 11/4/2011 7:03 am [GMT-0500] by Bender) ---



Back to Top
Rate [
|
]
 
 
knowmad
I've not tried to compile on 11.10 but have done this under other
versions. Notice that you have a system library (libbfd) which is trying
to use a WRE library (libz). What you're seeing in the errors is an
incompatibility between the two. I've had this happen during my
compilation of some parts of wre (can't recall which at this time). As I
recall, my solution was to not source the setenvironment settings and
have WRE compile whatever it's trying to compile using the system
libraries. I suppose another option would be to compile the libbfd
library under the WRE. Let us know how it goes.


Good luck,
William


On 11/04/2011 08:03 AM, m.grignaffini@studiopleiadi.it wrote:
> /usr/bin/ld: /data/wre/prereqs/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.21.53-system.20110810.so)

--
Knowmad - Web Strategy, Design & Development
W: http://www.knowmad.com | E: william@knowmad.com | P: 704.343.9330

--- (Edited on 11/4/2011 7:35 am [GMT-0500] by Visitor) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved