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 <peshk...@mail.ru>
> Sent: Monday 22nd June 2015 12:56
> To: firebird-devel@lists.sourceforge.net
> 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

------------------------------------------------------------------------------
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

Reply via email to