From: Carsten J. <cj...@sy...> - 2015-06-20 18:54:24
|
Hi Alex, many thanks for your suggestions. I checked out B52_5 and did the following steps: autogen.sh configure.sh --prefix=/opt/firebird-2.5 --with-system-icu In src/jrd/common.h I commented out the follwing lines (SFIO seems only to be needed for older Solaris versions): /* #if (!defined(SFIO) && defined(SUPERSERVER)) #error "need to use SFIO" #endif */ in src/include/types_pub.h:32 I added the definition of the SunStudio compiler: #if defined(__GNUC__) || defined (__HP_cc) || defined (__HP_aCC) || defined (__SUNPRO_CC) the SunStudio compiler needs the following environment to be exported: export LANG=C;export LC_ALL=C unfortunately I ran into an issue when running "make": make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' CC -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -w -DSOLARIS -DSOLX86 -DBSD_COMP -fno-omit-frame-pointer -fmessage-length=0 -MMD -fPIC -O2 -march=pentium -D_REENTRANT -c ../src/jrd/isc_file.cpp -o ../temp/boot/jrd/isc_file.o CC: Warning: Option -fno-omit-frame-pointer passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -fmessage-length=0 passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -march=pentium passed to ld, if ld is invoked, ignored otherwise "../src/jrd/isc_file.cpp", line 1387: Error: mnt_tab is not defined. "../src/jrd/isc_file.cpp", line 1387: Error: Badly formed expression. "../src/jrd/isc_file.cpp", line 1387: Error: Badly formed expression. 3 Error(s) detected. this seems to be related to the use of SFIO (even it's no longer required). in src/jrd/isc_file.cpp:1360 a special handler for solaris is defined that seams not to work with newer versions (like openindiana). BTW it's a 64bit build. any help is really appreciated. Carsten -----Original message----- > From:Alex Peshkoff <pes...@ma...> > Sent: Friday 19th June 2015 11:12 > To: fir...@li... > Subject: Re: [Firebird-devel] build 2.54. on Solaris x86 > > 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 > |
From: Carsten J. <cj...@sy...> - 2015-06-27 13:06:29
|
Hi Alex, in the meantime I following your suggestiion and changed the entry in src/jrd/isc_file.cpp accordingly. Now I get a core dump ;-( Compiling on Solaris seems to be not so easy... : make -C gen firebird make[1]: Entering directory `/usr/share/src/B2_5_Release/gen' make CFLAGS=" -D_REENTRANT " -j1 -f ../gen/Makefile.extern.editline make[2]: Entering directory `/usr/share/src/B2_5_Release/gen' make[2]: Nothing to be done for `libeditline'. make[2]: Leaving directory `/usr/share/src/B2_5_Release/gen' (cd ..; ./src/misc/writeBuildNum.sh rebuildHeader) files are identical make boot_phase1_build make[2]: Entering directory `/usr/share/src/B2_5_Release/gen' make -j1 -f ../gen/Makefile.boot.gpre gpre_boot make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' make[3]: Nothing to be done for `gpre_boot'. make[3]: Leaving directory `/usr/share/src/B2_5_Release/gen' make -j1 -f ../gen/Makefile.libfbstatic libfbstatic make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' ../gen/firebird/bin/gpre_current -n -z -gds_cxx -raw -ids ../src/jrd/dpm.epp ../temp/boot/jrd/dpm.cpp make[3]: *** [../temp/boot/jrd/dpm.cpp] Segmentation Fault (core dumped) make[3]: Leaving directory `/usr/share/src/B2_5_Release/gen' make[2]: *** [libfbstatic] Error 2 make[2]: Leaving directory `/usr/share/src/B2_5_Release/gen' make[1]: *** [../gen/firebird/bin/gpre_static] Error 2 make[1]: Leaving directory `/usr/share/src/B2_5_Release/gen' make: *** [firebird] Error 2 Any ideas? thx Carsten -- system-admin.info IT-Systemberatung, Infrastruktur, Netzesrc/jrd/isc_file.cpp: Carsten John Cruesemannallee 13 28213 Bremen -----Original message----- > From:Alex Peshkoff <pes...@ma...> > Sent: Monday 22nd June 2015 12:56 > To: fir...@li... > Subject: Re: [Firebird-devel] build 2.54. on Solaris x86 > > On 06/20/2015 09:54 PM, Carsten John wrote: > > Hi Alex, > > > > many thanks for your suggestions. > > > > I checked out B52_5 and did the following steps: > > > > autogen.sh > > configure.sh --prefix=/opt/firebird-2.5 --with-system-icu > > > > In src/jrd/common.h I commented out the follwing lines (SFIO seems only to be needed for older Solaris versions): > > > > /* > > #if (!defined(SFIO) && defined(SUPERSERVER)) > > #error "need to use SFIO" > > #endif > > */ > > > > > > in src/include/types_pub.h:32 I added the definition of the SunStudio compiler: > > > > #if defined(__GNUC__) || defined (__HP_cc) || defined (__HP_aCC) || defined (__SUNPRO_CC) > > > > the SunStudio compiler needs the following environment to be exported: > > > > export LANG=C;export LC_ALL=C > > > > > > unfortunately I ran into an issue when running "make": > > > > make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' > > CC -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -w -DSOLARIS -DSOLX86 -DBSD_COMP -fno-omit-frame-pointer -fmessage-length=0 -MMD -fPIC -O2 -march=pentium -D_REENTRANT -c ../src/jrd/isc_file.cpp -o ../temp/boot/jrd/isc_file.o > > CC: Warning: Option -fno-omit-frame-pointer passed to ld, if ld is invoked, ignored otherwise > > CC: Warning: Option -fmessage-length=0 passed to ld, if ld is invoked, ignored otherwise > > CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise > > CC: Warning: Option -march=pentium passed to ld, if ld is invoked, ignored otherwise > > "../src/jrd/isc_file.cpp", line 1387: Error: mnt_tab is not defined. > > "../src/jrd/isc_file.cpp", line 1387: Error: Badly formed expression. > > "../src/jrd/isc_file.cpp", line 1387: Error: Badly formed expression. > > 3 Error(s) detected. > > > > > > this seems to be related to the use of SFIO (even it's no longer required). > > No. That's sooner is related to the fact that after Sun/Oracle deal > nobody used to build for Solaris before you. > > > in src/jrd/isc_file.cpp:1360 a special handler for solaris is defined that seams not to work with newer versions (like openindiana). > > > > BTW it's a 64bit build. > > Looks like previously you were using autoconfig.h from 32-bit system... > Therefore bugs with ISC_LONG/ISC_ULONG. Do not know how could it happen. > Starting from the beginning helped - I assume that issue is closed. > > > > > any help is really appreciated. > > Try to make that line look so: > const int n = fscanf(mtab, "%s %s %s %s %s ", device, mount_point, > type, opts, ftime); > > (i.e. remove 'mnt_tab.') > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel |
From: Alex P. <pes...@ma...> - 2015-06-27 14:26:34
|
On 06/27/2015 04:06 PM, Carsten John wrote: > Hi Alex, > > in the meantime I following your suggestiion and changed the entry in src/jrd/isc_file.cpp accordingly. > > Now I get a core dump ;-( > > Compiling on Solaris seems to be not so easy... : When port was not maintained for a years it's typical. > make -C gen firebird > make[1]: Entering directory `/usr/share/src/B2_5_Release/gen' > make CFLAGS=" -D_REENTRANT " -j1 -f ../gen/Makefile.extern.editline > make[2]: Entering directory `/usr/share/src/B2_5_Release/gen' > make[2]: Nothing to be done for `libeditline'. > make[2]: Leaving directory `/usr/share/src/B2_5_Release/gen' > (cd ..; ./src/misc/writeBuildNum.sh rebuildHeader) > files are identical > make boot_phase1_build > make[2]: Entering directory `/usr/share/src/B2_5_Release/gen' > make -j1 -f ../gen/Makefile.boot.gpre gpre_boot > make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' > make[3]: Nothing to be done for `gpre_boot'. > make[3]: Leaving directory `/usr/share/src/B2_5_Release/gen' > make -j1 -f ../gen/Makefile.libfbstatic libfbstatic > make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' > ../gen/firebird/bin/gpre_current -n -z -gds_cxx -raw -ids ../src/jrd/dpm.epp ../temp/boot/jrd/dpm.cpp > make[3]: *** [../temp/boot/jrd/dpm.cpp] Segmentation Fault (core dumped) > make[3]: Leaving directory `/usr/share/src/B2_5_Release/gen' > make[2]: *** [libfbstatic] Error 2 > make[2]: Leaving directory `/usr/share/src/B2_5_Release/gen' > make[1]: *** [../gen/firebird/bin/gpre_static] Error 2 > make[1]: Leaving directory `/usr/share/src/B2_5_Release/gen' > make: *** [firebird] Error 2 > > > > Any ideas? > > Nothing new - restart build in debug more (--enable-debug switch for configure / autogen.sh) and with that build analyze core dump. Start with getting stack traces for all threads and send them here. In many cases that's enough to fix a bug, if not - something can be said after looking at them. |
From: Carsten J. <cj...@sy...> - 2015-06-27 16:30:55
|
Hi Alex, many thanks for your responsiveness, it's really great. I enabled debug mode and started make again. No core dump any more, but still an error: make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' CC -D_REENTRANT -Wl,-z,defs -R /opt/firebird-2.5/lib -R /opt/firebird-2.5/intl ../temp/boot/jrd/dsc.o ../temp/boot/jrd/gds.o ../temp/boot/jrd/isc.o ../temp/boot/gpre/cmd.o ../temp/boot/gpre/cme.o ../temp/boot/gpre/cmp.o ../temp/boot/gpre/c_cxx.o ../temp/boot/gpre/exp.o ../temp/boot/gpre/gpre.o ../temp/boot/gpre/hsh.o ../temp/boot/gpre/int_cxx.o ../temp/boot/gpre/jrdmet.o ../temp/boot/gpre/movg.o ../temp/boot/gpre/msc.o ../temp/boot/gpre/par.o ../temp/boot/gpre/pat.o ../temp/boot/gpre/sqe.o ../temp/boot/gpre/sql.o ../temp/boot/gpre/pretty.o ../temp/boot/gpre/gpre_meta_boot.o ../temp/boot/jrd/config_root.o ../temp/boot/jrd/path_utils.o ../temp/boot/jrd/mod_loader.o ../temp/boot/jrd/guid.o ../temp/boot/jrd/os_utils.o ../temp/boot/common/dllinst.o ../temp/boot/common/fb_exception.o ../temp/boot/common/thd.o ../temp/boot/common/classes/MetaName.o ../temp/boot/common/StatusHolder.o ../temp/boot/common/classes/init.o ../temp/boot/common/StatusArg.o ../temp/boot/jrd/fbsyslog.o ../temp/bo ot/common/utils.o ../temp/boot/common/config/config.o ../temp/boot/common/config/config_file.o ../temp/boot/common/config/dir_list.o ../temp/boot/common/classes/alloc.o ../temp/boot/common/classes/locks.o ../temp/boot/common/classes/semaphore.o ../temp/boot/common/classes/fb_string.o ../temp/boot/common/classes/timestamp.o ../temp/boot/common/classes/PublicHandle.o ../temp/boot/common/classes/TempFile.o ../temp/boot/common/classes/SafeArg.o ../temp/boot/common/classes/MsgPrint.o ../temp/boot/common/classes/BaseStream.o ../temp/boot/common/cvt.o -o ../gen/firebird/bin/gpre_boot -L../gen/firebird/lib -lsocket -lnsl -lresolv -lm -lpthread -lcurses CC: Warning: Option -Wl,-z,defs passed to ld, if ld is invoked, ignored otherwise ld: fatal: option -z has illegal argument ',defs' ld: fatal: flags processing errors make[3]: *** [../gen/firebird/bin/gpre_boot] Error 1 make[3]: Leaving directory `/usr/share/src/B2_5_Release/gen' make[2]: *** [gpre_boot] Error 2 make[2]: Leaving directory `/usr/share/src/B2_5_Release/gen' make[1]: *** [../gen/firebird/bin/gpre_static] Error 2 make[1]: Leaving directory `/usr/share/src/B2_5_Release/gen' make: *** [firebird] Error 2 thx Carsten -- system-admin.info IT-Systemberatung, Infrastruktur, Netze Carsten John Cruesemannallee 13 28213 Bremen -----Original message----- > From:Alex Peshkoff <pes...@ma...> > Sent: Saturday 27th June 2015 16:31 > To: For discussion among Firebird Developers <fir...@li...> > Subject: Re: [Firebird-devel] build 2.54. on Solaris x86 > > On 06/27/2015 04:06 PM, Carsten John wrote: > > Hi Alex, > > > > in the meantime I following your suggestiion and changed the entry in src/jrd/isc_file.cpp accordingly. > > > > Now I get a core dump ;-( > > > > Compiling on Solaris seems to be not so easy... : > > When port was not maintained for a years it's typical. > > > make -C gen firebird > > make[1]: Entering directory `/usr/share/src/B2_5_Release/gen' > > make CFLAGS=" -D_REENTRANT " -j1 -f ../gen/Makefile.extern.editline > > make[2]: Entering directory `/usr/share/src/B2_5_Release/gen' > > make[2]: Nothing to be done for `libeditline'. > > make[2]: Leaving directory `/usr/share/src/B2_5_Release/gen' > > (cd ..; ./src/misc/writeBuildNum.sh rebuildHeader) > > files are identical > > make boot_phase1_build > > make[2]: Entering directory `/usr/share/src/B2_5_Release/gen' > > make -j1 -f ../gen/Makefile.boot.gpre gpre_boot > > make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' > > make[3]: Nothing to be done for `gpre_boot'. > > make[3]: Leaving directory `/usr/share/src/B2_5_Release/gen' > > make -j1 -f ../gen/Makefile.libfbstatic libfbstatic > > make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' > > ../gen/firebird/bin/gpre_current -n -z -gds_cxx -raw -ids ../src/jrd/dpm.epp ../temp/boot/jrd/dpm.cpp > > make[3]: *** [../temp/boot/jrd/dpm.cpp] Segmentation Fault (core dumped) > > make[3]: Leaving directory `/usr/share/src/B2_5_Release/gen' > > make[2]: *** [libfbstatic] Error 2 > > make[2]: Leaving directory `/usr/share/src/B2_5_Release/gen' > > make[1]: *** [../gen/firebird/bin/gpre_static] Error 2 > > make[1]: Leaving directory `/usr/share/src/B2_5_Release/gen' > > make: *** [firebird] Error 2 > > > > > > > > Any ideas? > > > > > > Nothing new - restart build in debug more (--enable-debug switch for > configure / autogen.sh) and with that build analyze core dump. Start > with getting stack traces for all threads and send them here. In many > cases that's enough to fix a bug, if not - something can be said after > looking at them. > > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel > |
From: Alex P. <pes...@ma...> - 2015-06-29 09:51:44
|
On 06/27/2015 07:30 PM, Carsten John wrote: > Hi Alex, > > many thanks for your responsiveness, it's really great. > > I enabled debug mode and started make again. No core dump any more, Certainly - cause build fails before it was done in release case :) > but still an error: > > make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' > CC -D_REENTRANT -Wl,-z,defs -R /opt/firebird-2.5/lib -R /opt/firebird-2.5/intl ../temp/boot/jrd/dsc.o ../temp/boot/jrd/gds.o ../temp/boot/jrd/isc.o ../temp/boot/gpre/cmd.o ../temp/boot/gpre/cme.o ../temp/boot/gpre/cmp.o ../temp/boot/gpre/c_cxx.o ../temp/boot/gpre/exp.o ../temp/boot/gpre/gpre.o ../temp/boot/gpre/hsh.o ../temp/boot/gpre/int_cxx.o ../temp/boot/gpre/jrdmet.o ../temp/boot/gpre/movg.o ../temp/boot/gpre/msc.o ../temp/boot/gpre/par.o ../temp/boot/gpre/pat.o ../temp/boot/gpre/sqe.o ../temp/boot/gpre/sql.o ../temp/boot/gpre/pretty.o ../temp/boot/gpre/gpre_meta_boot.o ../temp/boot/jrd/config_root.o ../temp/boot/jrd/path_utils.o ../temp/boot/jrd/mod_loader.o ../temp/boot/jrd/guid.o ../temp/boot/jrd/os_utils.o ../temp/boot/common/dllinst.o ../temp/boot/common/fb_exception.o ../temp/boot/common/thd.o ../temp/boot/common/classes/MetaName.o ../temp/boot/common/StatusHolder.o ../temp/boot/common/classes/init.o ../temp/boot/common/StatusArg.o ../temp/boot/jrd/fbsyslog.o ../temp/bo > ot/common/utils.o ../temp/boot/common/config/config.o ../temp/boot/common/config/config_file.o ../temp/boot/common/config/dir_list.o ../temp/boot/common/classes/alloc.o ../temp/boot/common/classes/locks.o ../temp/boot/common/classes/semaphore.o ../temp/boot/common/classes/fb_string.o ../temp/boot/common/classes/timestamp.o ../temp/boot/common/classes/PublicHandle.o ../temp/boot/common/classes/TempFile.o ../temp/boot/common/classes/SafeArg.o ../temp/boot/common/classes/MsgPrint.o ../temp/boot/common/classes/BaseStream.o ../temp/boot/common/cvt.o -o ../gen/firebird/bin/gpre_boot -L../gen/firebird/lib -lsocket -lnsl -lresolv -lm -lpthread -lcurses > CC: Warning: Option -Wl,-z,defs passed to ld, if ld is invoked, ignored otherwise > ld: fatal: option -z has illegal argument ',defs' > ld: fatal: flags processing errors > make[3]: *** [../gen/firebird/bin/gpre_boot] Error 1 > make[3]: Leaving directory `/usr/share/src/B2_5_Release/gen' > make[2]: *** [gpre_boot] Error 2 > make[2]: Leaving directory `/usr/share/src/B2_5_Release/gen' > make[1]: *** [../gen/firebird/bin/gpre_static] Error 2 > make[1]: Leaving directory `/usr/share/src/B2_5_Release/gen' > make: *** [firebird] Error 2 > Looks like you are using gcc-specific build tuning file for solaris. There are 2 of them: prefix.solx86gcc & prefix.solx86gcc_64 in builds/posix. Full build log can help me find out what prefix was exactly used. You may try to change line UNDEF_PLATFORM = -Wl,-z,defs to UNDEF_PLATFORM = Sooner of all this will help you continue the build. Long term you should find appropriate option forcing compiler to fail when undefined symbols are present in shared libraries. |
From: Alex P. <pes...@ma...> - 2015-06-22 10:51:30
|
On 06/20/2015 09:54 PM, Carsten John wrote: > Hi Alex, > > many thanks for your suggestions. > > I checked out B52_5 and did the following steps: > > autogen.sh > configure.sh --prefix=/opt/firebird-2.5 --with-system-icu > > In src/jrd/common.h I commented out the follwing lines (SFIO seems only to be needed for older Solaris versions): > > /* > #if (!defined(SFIO) && defined(SUPERSERVER)) > #error "need to use SFIO" > #endif > */ > > > in src/include/types_pub.h:32 I added the definition of the SunStudio compiler: > > #if defined(__GNUC__) || defined (__HP_cc) || defined (__HP_aCC) || defined (__SUNPRO_CC) > > the SunStudio compiler needs the following environment to be exported: > > export LANG=C;export LC_ALL=C > > > unfortunately I ran into an issue when running "make": > > make[3]: Entering directory `/usr/share/src/B2_5_Release/gen' > CC -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -w -DSOLARIS -DSOLX86 -DBSD_COMP -fno-omit-frame-pointer -fmessage-length=0 -MMD -fPIC -O2 -march=pentium -D_REENTRANT -c ../src/jrd/isc_file.cpp -o ../temp/boot/jrd/isc_file.o > CC: Warning: Option -fno-omit-frame-pointer passed to ld, if ld is invoked, ignored otherwise > CC: Warning: Option -fmessage-length=0 passed to ld, if ld is invoked, ignored otherwise > CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise > CC: Warning: Option -march=pentium passed to ld, if ld is invoked, ignored otherwise > "../src/jrd/isc_file.cpp", line 1387: Error: mnt_tab is not defined. > "../src/jrd/isc_file.cpp", line 1387: Error: Badly formed expression. > "../src/jrd/isc_file.cpp", line 1387: Error: Badly formed expression. > 3 Error(s) detected. > > > this seems to be related to the use of SFIO (even it's no longer required). No. That's sooner is related to the fact that after Sun/Oracle deal nobody used to build for Solaris before you. > in src/jrd/isc_file.cpp:1360 a special handler for solaris is defined that seams not to work with newer versions (like openindiana). > > BTW it's a 64bit build. Looks like previously you were using autoconfig.h from 32-bit system... Therefore bugs with ISC_LONG/ISC_ULONG. Do not know how could it happen. Starting from the beginning helped - I assume that issue is closed. > > any help is really appreciated. Try to make that line look so: const int n = fscanf(mtab, "%s %s %s %s %s ", device, mount_point, type, opts, ftime); (i.e. remove 'mnt_tab.') |