From: Andrew Morrow Date: 2006-06-28T21:02:39+09:00 Subject: Re: 1.8.5p1 build failure on Solaris 10 Dan - You can also try adding -std=gnu99 to your CFLAGS. I know this works around this issue when using gcc-4.0.3 on Solaris 10. Also, while we are talking about Solaris, would someone please comment on the Solaris configure patch I posted to ruby-core a while back in post number 7791?. Thanks, Andrew On 6/27/06, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: 1.8.5p1 build failure on Solaris 10" > on Wed, 28 Jun 2006 06:09:01 +0900, "Daniel Berger" writes: > > |Solaris 10 > |gcc 3.4.5 > | > |Undefined first referenced > | symbol in file > |isinf libruby-static.a(marshal.o) > |ld: fatal: Symbol referencing errors. No output written to miniruby > |collect2: ld returned 1 exit status > |make: Fatal error: Command failed for target `miniruby' > | > |On Solaris you have to link against -lsunmath to make this work. Even then, > |you'll get a warning about an implicit declaration unless you explicitly > |include sunmath.h, which is only included as part of the Sun developer suite, > |not under /usr/include. > > In that case, configure should have used replacement implementation > under missing directory. Can you show us your config.h and output > from config.guess. > > matz. > >