[rrd-users] Compile errors on Solaris 10 w/ SOS12 and rrdtool 1.2

This is a discussion on [rrd-users] Compile errors on Solaris 10 w/ SOS12 and rrdtool 1.2 within the RRD Users forums, part of the Networking and Network Related category; Hi, I am getting compile errors from the latest 1.2 snapshot on Solaris 10 x86 with the Sun Studio ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2008
Dagobert Michelsen
 
Posts: n/a
Default [rrd-users] Compile errors on Solaris 10 w/ SOS12 and rrdtool 1.2

Hi,

I am getting compile errors from the latest 1.2 snapshot on
Solaris 10 x86 with the Sun Studio Compiler 12:

/bin/bash ../libtool --tag=3DCC --mode=3Dcompile /opt/studio12/ =

SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=3D\"/ =

usr/local/rrdtool-1.2.26/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf =

\" -DNUMVERS=3D1.2026 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/ =

include/libart-2.0 -I/usr/include/freetype2 -I/usr/sfw/include -I/usr/ =

sfw/include/freetype2 -g -KPIC -DPIC -c -o rrd_getopt.lo =

rrd_getopt.c
/opt/studio12/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. - =

DRRD_DEFAULT_FONT=3D\"/usr/local/rrdtool-1.2.26/share/rrdtool/fonts/ =

DejaVuSansMono-Roman.ttf\" -DNUMVERS=3D1.2026 - =

D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/include/libart-2.0 -I/ =

usr/include/freetype2 -I/usr/sfw/include -I/usr/sfw/include/freetype2 =

-g -KPIC -DPIC -c rrd_getopt.c -KPIC -DPIC -o .libs/rrd_getopt.o
"/usr/include/iso/stdio_iso.h", line 190: identifier redeclared: rename
current : function(pointer to char, pointer to char) =

returning int
previous: function(pointer to const char, pointer to const =

char) returning int : "/usr/include/unistd.h", line 449
cc: acomp failed for rrd_getopt.c
gmake[2]: *** [rrd_getopt.lo] Error 1
gmake[2]: Leaving directory `/root/automatic-multiarch-compile/utils/ =

rrdtool/tmp/rrdtool-1.2.26/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/automatic-multiarch-compile/utils/ =

rrdtool/tmp/rrdtool-1.2.26'
gmake: *** [all] Error 2

It looks like someone had the same problem with Gnuplot:
http://tech.groups.yahoo.com/group/i...ta/message/514

Setting CFLAGS=3D"-Xc -D__EXTENSIONS__" solves the problem.

Best regards

-- Dago


-- =

Dagobert Michelsen (Leiter IT) Baltic Online Computer GmbH
Firmensitz: Alter Markt 1-2, 24103 Kiel, Telefon: +49 431 54003-0
Gesch=E4ftsf=FChrer: Erik Cickovskis, Amtsgericht Kiel, HRB 3756
"Of course computer servers don't need thrust, since they generally
don't go anywhere." -- Comment in TR on new HP server turbine fans



_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:02 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0