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.



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