Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

solaris10 compile rrdtool problem

Status
Not open for further replies.

lg73

ISP
May 4, 2006
1
CN
when i compile rrdtool1.2.12,my cc is gcc3.3.2,my ld is gnu ld,but i type make,
then
memmove 0x9a8 /usr/local/lb/lib/libart_lgpl_2.a(art_svp_render_aa.o)
memmove 0xa34 /usr/local/lb/lib/libart_lgpl_2.a(art_svp_render_aa.o)
memmove 0xac4 /usr/local/lb/lib/libart_lgpl_2.a(art_svp_render_aa.o)
memmove 0xb58 /usr/local/lb/lib/libart_lgpl_2.a(art_svp_render_aa.o)
memmove 0xd04 /usr/local/lb/lib/libart_lgpl_2.a(art_svp_render_aa.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[2]: *** [librrd.la] Error 1
make[2]: Leaving directory `/usr/local/rrdtool-1.2.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/rrdtool-1.2.12'
make: *** [all] Error 2
why?how can i do?


 
If you have Sun Studio 11 I would recommend using that as your compiler instead of gcc. I downloaded some IO benchmarking tools and all of them failed to compile with gcc, however, they compiled successfully using Sun Studio's cc compiler.

Another benefit is that benchmarks show a marked increase for binaries compiled with Sun Studio over gcc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top