Hi together, here is a little success tory how I got flac 1.2.1 (ZIP from downloads page) compiled with Solaris 7: First of all you need a lot packages from sunfreeware.com If you have installed the required packages you may end up with an error that says there is no stdint.h on your system. On an other forum I have read upgrading to Solaris 10 "fixes" this problem but that might not being an option to many people for their different reasons. Well, I just rewrote include/share/alloc.h, line 32 from stdint.h to inttypes.h and it fixes! Maybe you can try it and then fix in your lib? Regards, Roland
Roland Haeder wrote:> First of all you need a lot packages from sunfreeware.com > If you have installed the required packages you may end up with an error > that says there is no stdint.h on your system. > On an other forum I have read upgrading to Solaris 10 "fixes" this > problem but that might not being an option to many people for their > different reasons. > > Well, I just rewrote include/share/alloc.h, line 32 from stdint.h to > inttypes.h and it fixes!Both <inttypes.h> and <stdarg.h> are part of the 1999 ISO C Standard (yes, a standard that is now 10 years old). Any compiler which has one or the other missing does not comply with the standard.> Maybe you can try it and then fix in your lib?Maybe you can ask SUN to fix their compiler. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "Within C++, there is a much smaller and cleaner language struggling to get out." -- Bjarne Stroustrup
Erik de Castro Lopo wrote:> Both <inttypes.h> and <stdarg.h> are part of the 1999 ISO C Standard > (yes, a standard that is now 10 years old). Any compiler which has one > or the other missing does not comply with the standard.Fairly old standard. ;)> > > Maybe you can ask SUN to fix their compiler.Okay, maybe that was not fully clearto you. I use the GCC from sunfreeware.com and ld from Sun.> > Erik > -- > ----------------------------------------------------------------- > Erik de Castro Lopo > ----------------------------------------------------------------- > "Within C++, there is a much smaller and cleaner language struggling > to get out." -- Bjarne Stroustrup > _______________________________________________ > Flac-dev mailing list > Flac-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/flac-dev