On 06/19/2015 11:05 AM, Carsten John wrote: > Hello everybody, > > I'm trying to build 2.54. on Solaris x86 (exactly, it's OpenIndiana). > > I've installed SunStudio12 and followed the instructions for building on > POSIX. > > Unfortunately, I ran into problems compiling the stuff: > > The relevant lines: > > make[3]: Entering directory `/usr/share/src/Firebird-2.5.4.26856-0/gen' > CC -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan > -DNAMESPACE=Vulcan -xbuiltin=%all -xO2 -xlibmil -DNDEBUG -DSOLARIS -DBSD_COMP > -D__EXTENSIONS__ -D_POSIX_THREAD_SEMANTICS -D_POSIX_THREAD_PRIO_INHERIT > -D_POSIX_C_SOURCE=199506L -KPIC -erroff=wvarhidemem -DSFIO > -I/usr/include/ast/sfio.h/include -D_REENTRANT -pthread -c > ../src/jrd/gds.cpp -o ../temp/boot/jrd/gds.o > CC: Warning: Option -pthread passed to ld, if ld is invoked, ignored otherwise > "../src/include/types_pub.h", line 96: Error: Multiple declaration for > ISC_LONG. > "../src/include/types_pub.h", line 97: Error: Multiple declaration for > ISC_ULONG.
Is it 32- or 64-bit build? > "/usr/include/sys/int_types.h", line 125: Error: Multiple declaration for > intptr_t. > "/usr/include/sys/int_types.h", line 126: Error: Multiple declaration for > uintptr_t. Look at types_pub.h:32 and add appropriate define for your compiler to it > "../src/jrd/../jrd/../jrd/os/guid.h", line 57: Error: A declaration does not > specify a tag or an identifier. Try to build not 2.5.4, but B2_5_Release, that problem is sooner of all solved in it. > "../src/jrd/../jrd/../jrd/os/guid.h", line 58: Warning: Types cannot be > declared in anonymous union. > "../src/jrd/gds.cpp", line 2001: Warning (Anachronism): Assigning extern "C" > void(*)(void*,short,const char*) to void(*)(void*,short,const char*). > "../src/jrd/gds.cpp", line 2117: Warning (Anachronism): Formal argument > cleanup of type void(*)() in call to static > Firebird::InstanceControl::registerGdsCleanup(void(*)()) is being passed > extern "C" void(*)(). > 5 Error(s) and 3 Warning(s) detected. > make[3]: *** [../temp/boot/jrd/gds.o] Error 5 > make[3]: Leaving directory `/usr/share/src/Firebird-2.5.4.26856-0/gen' > make[2]: *** [gpre_boot] Error 2 > make[2]: Leaving directory `/usr/share/src/Firebird-2.5.4.26856-0/gen' > make[1]: *** [../gen/firebird/bin/gpre_static] Error 2 > make[1]: Leaving directory `/usr/share/src/Firebird-2.5.4.26856-0/gen' > make: *** [firebird] Error 2 > > Any suggestions? > > thx > > Carsten > > > ------------------------------------------------------------------------------ > Firebird-Devel mailing list, web interface at > https://lists.sourceforge.net/lists/listinfo/firebird-devel > ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel