RosX1
Posts: 17
Joined: Wed Apr 20, 2016 7:14 am

Re: Building Firebird 1.5 from source

Wed Jun 28, 2017 2:18 pm

Sorry, my mistake about line 600.
Thanks - this you told me works!
Now there are another errors:

Code: Select all

$ make
make -C src firebird
make[1]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
make boot_phase2_build
make[2]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
make -f ../gen/Makefile.embed.util create_db
make[3]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
make[3]: Nothing to be done for 'create_db'.
make[3]: Leaving directory '/home/pi/Downloads/firebird-R1_5_6/src'
make -f ../gen/Makefile.refDatabases empty_db
make[3]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
make[3]: Nothing to be done for 'empty_db'.
make[3]: Leaving directory '/home/pi/Downloads/firebird-R1_5_6/src'
make -f ../gen/Makefile.embed.lockmgr lock_mgr
make[3]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
make[3]: Nothing to be done for 'lock_mgr'.
make[3]: Leaving directory '/home/pi/Downloads/firebird-R1_5_6/src'
make -f ../gen/Makefile.static.gbak gbak_static
make[3]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
../gen/firebird/bin/gpre_current -r -m -z -n ../src/burp/backup.epp ../src/burp/backup.cpp
gpre version LI-V1.5.6.5026 Firebird 1.5
internal gds software consistency check (Internal error code (179))
(E) ../src/burp/backup.epp:67: Couldn't access database DB = 'yachts.lnk'
(E) ../src/burp/backup.epp:431: no database for operation
(E) ../src/burp/backup.epp:440: unmatched END_FOR
(E) ../src/burp/backup.epp:442: ON_ERROR used out of context
(E) ../src/burp/backup.epp:445: END_ERROR used out of context
(E) ../src/burp/backup.epp:647: no database for operation
(E) ../src/burp/backup.epp:746: unmatched END_FOR
(E) ../src/burp/backup.epp:748: ON_ERROR used out of context
(E) ../src/burp/backup.epp:750: END_ERROR used out of context
(E) ../src/burp/backup.epp:753: no database for operation
(E) ../src/burp/backup.epp:790: no database for operation
(E) ../src/burp/backup.epp:793: unmatched END_FOR
(E) ../src/burp/backup.epp:795: ON_ERROR used out of context
(E) ../src/burp/backup.epp:797: END_ERROR used out of context
(E) ../src/burp/backup.epp:802: no database for operation
(E) ../src/burp/backup.epp:806: unmatched END_FOR
(E) ../src/burp/backup.epp:808: ON_ERROR used out of context
(E) ../src/burp/backup.epp:810: END_ERROR used out of context
(E) ../src/burp/backup.epp:812: no database for operation
(E) ../src/burp/backup.epp:816: unmatched END_FOR
(E) ../src/burp/backup.epp:818: ON_ERROR used out of context
(E) ../src/burp/backup.epp:820: END_ERROR used out of context
(E) ../src/burp/backup.epp:822: no database for operation
(E) ../src/burp/backup.epp:834: unmatched END_FOR
(E) ../src/burp/backup.epp:836: ON_ERROR used out of context
(E) ../src/burp/backup.epp:838: END_ERROR used out of context
(E) ../src/burp/backup.epp:840: no database for operation
(E) ../src/burp/backup.epp:872: unmatched END_FOR
(E) ../src/burp/backup.epp:874: ON_ERROR used out of context
(E) ../src/burp/backup.epp:877: END_ERROR used out of context
(E) ../src/burp/backup.epp:880: unmatched END_FOR
(E) ../src/burp/backup.epp:882: ON_ERROR used out of context
(E) ../src/burp/backup.epp:884: END_ERROR used out of context
(E) ../src/burp/backup.epp:1056: no database for operation
(E) ../src/burp/backup.epp:1067: unmatched END_FOR
(E) ../src/burp/backup.epp:1069: ON_ERROR used out of context
(E) ../src/burp/backup.epp:1072: END_ERROR used out of context
(E) ../src/burp/backup.epp:1929: no database for operation
(E) ../src/burp/backup.epp:1934: no database for operation
(E) ../src/burp/backup.epp:1942: unmatched END_FOR
(E) ../src/burp/backup.epp:1944: ON_ERROR used out of context
(E) ../src/burp/backup.epp:1947: END_ERROR used out of context
(E) ../src/burp/backup.epp:1963: no database for operation
(E) ../src/burp/backup.epp:1969: unmatched END_FOR
(E) ../src/burp/backup.epp:1971: ON_ERROR used out of context
(E) ../src/burp/backup.epp:1974: END_ERROR used out of context
(E) ../src/burp/backup.epp:1985: unmatched END_FOR
(E) ../src/burp/backup.epp:1987: ON_ERROR used out of context
(E) ../src/burp/backup.epp:1989: END_ERROR used out of context
(E) ../src/burp/backup.epp:1993: no database for operation
(E) ../src/burp/backup.epp:1998: no database for operation
(E) ../src/burp/backup.epp:2003: no database for operation
(E) ../src/burp/backup.epp:2007: unmatched END_FOR
(E) ../src/burp/backup.epp:2009: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2011: END_ERROR used out of context
(E) ../src/burp/backup.epp:2015: unmatched END_FOR
(E) ../src/burp/backup.epp:2017: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2020: END_ERROR used out of context
(E) ../src/burp/backup.epp:2034: no database for operation
(E) ../src/burp/backup.epp:2036: unmatched END_FOR
(E) ../src/burp/backup.epp:2038: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2040: END_ERROR used out of context
(E) ../src/burp/backup.epp:2042: no database for operation
(E) ../src/burp/backup.epp:2045: unmatched END_FOR
(E) ../src/burp/backup.epp:2047: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2049: END_ERROR used out of context
(E) ../src/burp/backup.epp:2052: no database for operation
(E) ../src/burp/backup.epp:2054: unmatched END_FOR
(E) ../src/burp/backup.epp:2056: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2058: END_ERROR used out of context
(E) ../src/burp/backup.epp:2060: no database for operation
(E) ../src/burp/backup.epp:2067: unmatched END_FOR
(E) ../src/burp/backup.epp:2069: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2071: END_ERROR used out of context
(E) ../src/burp/backup.epp:2073: unmatched END_FOR
(E) ../src/burp/backup.epp:2075: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2077: END_ERROR used out of context
(E) ../src/burp/backup.epp:2332: no database for operation
(E) ../src/burp/backup.epp:2339: unmatched END_FOR
(E) ../src/burp/backup.epp:2342: END_ERROR used out of context
(E) ../src/burp/backup.epp:2346: no database for operation
(E) ../src/burp/backup.epp:2351: unmatched END_FOR
(E) ../src/burp/backup.epp:2353: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2355: END_ERROR used out of context
(E) ../src/burp/backup.epp:2590: no database for operation
(E) ../src/burp/backup.epp:2594: unmatched END_FOR
(E) ../src/burp/backup.epp:2596: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2598: END_ERROR used out of context
(E) ../src/burp/backup.epp:2663: no database for operation
(E) ../src/burp/backup.epp:2681: unmatched END_FOR
(E) ../src/burp/backup.epp:2683: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2686: END_ERROR used out of context
(E) ../src/burp/backup.epp:2711: no database for operation
(E) ../src/burp/backup.epp:2718: unmatched END_FOR
(E) ../src/burp/backup.epp:2720: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2723: END_ERROR used out of context
(E) ../src/burp/backup.epp:2748: no database for operation
(E) ../src/burp/backup.epp:2762: unmatched END_FOR
(E) ../src/burp/backup.epp:2764: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2767: END_ERROR used out of context
(E) ../src/burp/backup.epp:2883: no database for operation
(E) ../src/burp/backup.epp:2890: unmatched END_FOR
(E) ../src/burp/backup.epp:2892: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2894: END_ERROR used out of context
(E) ../src/burp/backup.epp:2900: no database for operation
(E) ../src/burp/backup.epp:2903: unmatched END_FOR
(E) ../src/burp/backup.epp:2905: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2907: END_ERROR used out of context
(E) ../src/burp/backup.epp:2912: no database for operation
(E) ../src/burp/backup.epp:2914: unmatched END_FOR
(E) ../src/burp/backup.epp:2916: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2918: END_ERROR used out of context
(E) ../src/burp/backup.epp:2923: no database for operation
(E) ../src/burp/backup.epp:2926: unmatched END_FOR
(E) ../src/burp/backup.epp:2928: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2930: END_ERROR used out of context
(E) ../src/burp/backup.epp:2966: no database for operation
(E) ../src/burp/backup.epp:2976: unmatched END_FOR
(E) ../src/burp/backup.epp:2978: ON_ERROR used out of context
(E) ../src/burp/backup.epp:2981: END_ERROR used out of context
(E) ../src/burp/backup.epp:3005: no database for operation
(E) ../src/burp/backup.epp:3012: unmatched END_FOR
(E) ../src/burp/backup.epp:3014: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3017: END_ERROR used out of context
(E) ../src/burp/backup.epp:3044: no database for operation
(E) ../src/burp/backup.epp:3057: unmatched END_FOR
(E) ../src/burp/backup.epp:3059: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3062: END_ERROR used out of context
(E) ../src/burp/backup.epp:3089: no database for operation
(E) ../src/burp/backup.epp:3106: unmatched END_FOR
(E) ../src/burp/backup.epp:3108: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3111: END_ERROR used out of context
(E) ../src/burp/backup.epp:3142: no database for operation
(E) ../src/burp/backup.epp:3162: unmatched END_FOR
(E) ../src/burp/backup.epp:3164: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3166: END_ERROR used out of context
(E) ../src/burp/backup.epp:3170: no database for operation
(E) ../src/burp/backup.epp:3188: no database for operation
(E) ../src/burp/backup.epp:3198: unmatched END_FOR
(E) ../src/burp/backup.epp:3200: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3202: END_ERROR used out of context
(E) ../src/burp/backup.epp:3205: unmatched END_FOR
(E) ../src/burp/backup.epp:3207: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3209: END_ERROR used out of context
(E) ../src/burp/backup.epp:3234: no database for operation
(E) ../src/burp/backup.epp:3248: unmatched END_FOR
(E) ../src/burp/backup.epp:3250: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3253: END_ERROR used out of context
(E) ../src/burp/backup.epp:3291: no database for operation
(E) ../src/burp/backup.epp:3347: unmatched END_FOR
(E) ../src/burp/backup.epp:3349: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3351: END_ERROR used out of context
(E) ../src/burp/backup.epp:3355: no database for operation
(E) ../src/burp/backup.epp:3387: no database for operation
(E) ../src/burp/backup.epp:3397: unmatched END_FOR
(E) ../src/burp/backup.epp:3399: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3401: END_ERROR used out of context
(E) ../src/burp/backup.epp:3405: no database for operation
(E) ../src/burp/backup.epp:3422: no database for operation
(E) ../src/burp/backup.epp:3425: unmatched END_FOR
(E) ../src/burp/backup.epp:3427: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3429: END_ERROR used out of context
(E) ../src/burp/backup.epp:3430: unmatched END_FOR
(E) ../src/burp/backup.epp:3432: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3434: END_ERROR used out of context
(E) ../src/burp/backup.epp:3436: unmatched END_FOR
(E) ../src/burp/backup.epp:3438: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3440: END_ERROR used out of context
(E) ../src/burp/backup.epp:3476: no database for operation
(E) ../src/burp/backup.epp:3496: unmatched END_FOR
(E) ../src/burp/backup.epp:3498: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3501: END_ERROR used out of context
(E) ../src/burp/backup.epp:3526: no database for operation
(E) ../src/burp/backup.epp:3537: unmatched END_FOR
(E) ../src/burp/backup.epp:3539: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3541: END_ERROR used out of context
(E) ../src/burp/backup.epp:3564: no database for operation
(E) ../src/burp/backup.epp:3572: unmatched END_FOR
(E) ../src/burp/backup.epp:3574: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3577: END_ERROR used out of context
(E) ../src/burp/backup.epp:3603: no database for operation
(E) ../src/burp/backup.epp:3616: unmatched END_FOR
(E) ../src/burp/backup.epp:3618: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3621: END_ERROR used out of context
(E) ../src/burp/backup.epp:3659: no database for operation
(E) ../src/burp/backup.epp:3702: unmatched END_FOR
(E) ../src/burp/backup.epp:3704: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3706: END_ERROR used out of context
(E) ../src/burp/backup.epp:3710: no database for operation
(E) ../src/burp/backup.epp:3731: no database for operation
(E) ../src/burp/backup.epp:3734: unmatched END_FOR
(E) ../src/burp/backup.epp:3736: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3738: END_ERROR used out of context
(E) ../src/burp/backup.epp:3742: no database for operation
(E) ../src/burp/backup.epp:3745: unmatched END_FOR
(E) ../src/burp/backup.epp:3747: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3749: END_ERROR used out of context
(E) ../src/burp/backup.epp:3755: no database for operation
(E) ../src/burp/backup.epp:3766: unmatched END_FOR
(E) ../src/burp/backup.epp:3768: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3770: END_ERROR used out of context
(E) ../src/burp/backup.epp:3779: unmatched END_FOR
(E) ../src/burp/backup.epp:3781: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3783: END_ERROR used out of context
(E) ../src/burp/backup.epp:3817: no database for operation
(E) ../src/burp/backup.epp:3831: unmatched END_FOR
(E) ../src/burp/backup.epp:3833: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3836: END_ERROR used out of context
(E) ../src/burp/backup.epp:3862: no database for operation
(E) ../src/burp/backup.epp:3872: unmatched END_FOR
(E) ../src/burp/backup.epp:3874: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3877: END_ERROR used out of context
(E) ../src/burp/backup.epp:3910: no database for operation
(E) ../src/burp/backup.epp:3934: unmatched END_FOR
(E) ../src/burp/backup.epp:3936: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3938: END_ERROR used out of context
(E) ../src/burp/backup.epp:3942: no database for operation
(E) ../src/burp/backup.epp:3964: no database for operation
(E) ../src/burp/backup.epp:3970: unmatched END_FOR
(E) ../src/burp/backup.epp:3972: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3974: END_ERROR used out of context
(E) ../src/burp/backup.epp:3978: unmatched END_FOR
(E) ../src/burp/backup.epp:3980: ON_ERROR used out of context
(E) ../src/burp/backup.epp:3982: END_ERROR used out of context
(E) ../src/burp/backup.epp:4013: no database for operation
(E) ../src/burp/backup.epp:4025: unmatched END_FOR
(E) ../src/burp/backup.epp:4027: ON_ERROR used out of context
(E) ../src/burp/backup.epp:4030: END_ERROR used out of context
(E) ../src/burp/backup.epp:4054: no database for operation
(E) ../src/burp/backup.epp:4066: unmatched END_FOR
(E) ../src/burp/backup.epp:4068: ON_ERROR used out of context
(E) ../src/burp/backup.epp:4071: END_ERROR used out of context
(E) ../src/burp/backup.epp:4100: no database for operation
(E) ../src/burp/backup.epp:4116: unmatched END_FOR
(E) ../src/burp/backup.epp:4119: END_ERROR used out of context
(E) ../src/burp/backup.epp:4123: no database for operation
(E) ../src/burp/backup.epp:4136: unmatched END_FOR
(E) ../src/burp/backup.epp:4138: ON_ERROR used out of context
(E) ../src/burp/backup.epp:4140: END_ERROR used out of context
239 errors, no warnings
../gen/make.rules:183: recipe for target '../src/burp/backup.cpp' failed
make[3]: *** [../src/burp/backup.cpp] Error 1
make[3]: Leaving directory '/home/pi/Downloads/firebird-R1_5_6/src'
Makefile:271: recipe for target 'gbak_static' failed
make[2]: *** [gbak_static] Error 2
make[2]: Leaving directory '/home/pi/Downloads/firebird-R1_5_6/src'
Makefile:263: recipe for target '../gen/firebird/security.fdb' failed
make[1]: *** [../gen/firebird/security.fdb] Error 2
make[1]: Leaving directory '/home/pi/Downloads/firebird-R1_5_6/src'
Makefile:6: recipe for target 'firebird' failed
make: *** [firebird] Error 2




LdB
Posts: 911
Joined: Wed Dec 07, 2016 2:29 pm

Re: Building Firebird 1.5 from source

Wed Jun 28, 2017 3:21 pm

You will need to try the firebird forums that isn't a C/C++ problem

I don't even recognize what the command file is it's running
/gen/firebird/bin/gpre_current

No idea what that is but it's trying to open a database 'yachts.lnk', fails and then a pile of commands to the database fail.

UPDATE:
https://www.firebirdsql.org/pdfmanual/h ... ppdev.html
Firebird provides the capability to embed SQL statements in applications written in C/C++ and some other programming languages. The code is then passed through gpre, the pre-processor, which substitutes the embedded SQL statements with equivalent host language code that calls functions in Firebird's client API library. The gpre pre-processor generates a file that the host language compiler can compile.

RosX1
Posts: 17
Joined: Wed Apr 20, 2016 7:14 am

Re: Building Firebird 1.5 from source

Fri Jun 30, 2017 9:02 am

Hi,
I'm investigating the problem and the problem is when start just builded "create_db". I think the problem is maybe in the warnings appears in compiling process ( these are part of the warnings). Maybe with some operations with numbers or chars, because "create_db empty.fdb" creates empty.fdb database file, but when trying to open it, reports file corruption:

Code: Select all

rm -f empty.fdb
../gen/firebird/bin/create_db empty.fdb
lock manager: couldn't set uid to superuser
database file appears corrupt ()
-wrong page type
-page 4 is of wrong type (expected 6, found 0)
../gen/Makefile.refDatabases:69: recipe for target 'empty.fdb' failed
And when try to open database empty.fdb show error "internal gds software consistency check (Internal error code (179))"

These are part of the warnings:

Code: Select all

g++  -DBOOT_BUILD -I../src/include/gen -I../src/include -ggdb -O3 -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv8-a -mtune=cortex-a53 -fpermissive -Wno-write-strings -fsigned-char -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -DARM -pipe -MMD -fPIC  -DPROD_BUILD -c ../src/jrd/par.cpp -o ../temp/libfbstatic/jrd/par.o
../src/jrd/par.cpp: In function ‘void par_procedure_parms(TDBB, Csb**, JRD_PRC, jrd_nod**, jrd_nod**, USHORT)’:
../src/jrd/par.cpp:1917:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    prm->nod_arg[e_arg_number] = (JRD_NOD) i++;
                                            ^
../src/jrd/par.cpp:1923:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    prm_f->nod_arg[e_arg_number] = (JRD_NOD) i++;
                                              ^
../src/jrd/par.cpp: In function ‘jrd_nod* parse(TDBB, Csb**, USHORT)’:
../src/jrd/par.cpp:126:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 #define BLR_BYTE *((*csb)->csb_running)++
                                        ^
../src/jrd/par.cpp:2421:22: note: in expansion of macro ‘BLR_BYTE’
   *arg++ = (JRD_NOD) BLR_BYTE;

Code: Select all

make[3]: [email protected]: Command not found
../gen/Makefile.libfbstatic:60: recipe for target '../gen/firebird/lib/libfbstatic.a' failed
make[3]: [../gen/firebird/lib/libfbstatic.a] Error 127 (ignored)

Code: Select all

make -f ../gen/Makefile.static.gpre gpre_static
make[3]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
g++  ../temp/static.gpre/gpre/cmd.o ../temp/static.gpre/gpre/cme.o ../temp/static.gpre/gpre/cmp.o ../temp/static.gpre/gpre/c_cxx.o ../temp/static.gpre/gpre/exp.o ../temp/static.gpre/gpre/gpre.o ../temp/static.gpre/gpre/hsh.o ../temp/static.gpre/gpre/int_cxx.o ../temp/static.gpre/gpre/jrdmet.o ../temp/static.gpre/gpre/movg.o ../temp/static.gpre/gpre/msc.o ../temp/static.gpre/gpre/par.o ../temp/static.gpre/gpre/pat.o ../temp/static.gpre/gpre/sqe.o ../temp/static.gpre/gpre/sql.o ../temp/static.gpre/gpre/noform.o ../temp/static.gpre/gpre/gpre_meta.o -o ../gen/firebird/bin/gpre_static -L../gen/firebird/lib -lfbstatic -lfbcommon -lstdc++ -lcurses -lcrypt -lm -lc -ldl  -leditline
../gen/firebird/lib/libfbstatic.a(gds.o): In function `gds__interprete':
/home/pi/Downloads/firebird-R1_5_6/src/../src/jrd/gds.cpp:957: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/home/pi/Downloads/firebird-R1_5_6/src/../src/jrd/gds.cpp:957: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
rm -f ../gen/firebird/bin/gpre_current
(cd ../gen/firebird/bin; ln -s gpre_static gpre_current)
make[3]: Leaving directory '/home/pi/Downloads/firebird-R1_5_6/src'
make -f ../gen/Makefile.embed.lockmgr lock_mgr
make[3]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
g++  ../temp/embed.lockmgr/lock/manager.o -o ../gen/firebird/bin/fb_lock_mgr -L../gen/firebird/lib -lfbstatic -lfbcommon -lstdc++ -lcurses -lcrypt -lm -lc -ldl  -leditline
../gen/firebird/lib/libfbstatic.a(lock.o): In function `bug':
/home/pi/Downloads/firebird-R1_5_6/src/../src/lock/lock.cpp:2078: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
../gen/firebird/lib/libfbstatic.a(gds.o): In function `gds__interprete':
/home/pi/Downloads/firebird-R1_5_6/src/../src/jrd/gds.cpp:957: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
make[3]: Leaving directory '/home/pi/Downloads/firebird-R1_5_6/src'
make[2]: Leaving directory '/home/pi/Downloads/firebird-R1_5_6/src'
make boot_phase2_build
make[2]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
make -f ../gen/Makefile.embed.util create_db
make[3]: Entering directory '/home/pi/Downloads/firebird-R1_5_6/src'
g++  ../temp/embed.util/utilities/create_db.o -o ../gen/firebird/bin/create_db -L../gen/firebird/lib -lfbstatic -lfbcommon -lstdc++ -lcurses -lcrypt -lm -lc -ldl  -leditline
../gen/firebird/lib/libfbstatic.a(gds.o): In function `gds__interprete':
/home/pi/Downloads/firebird-R1_5_6/src/../src/jrd/gds.cpp:957: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/home/pi/Downloads/firebird-R1_5_6/src/../src/jrd/gds.cpp:957: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead

LdB
Posts: 911
Joined: Wed Dec 07, 2016 2:29 pm

Re: Building Firebird 1.5 from source

Fri Jun 30, 2017 12:22 pm

>>> lock manager: couldn't set uid to superuser <<<
First that looks like a linux error nothing to do with code but a permission thing

The next errors are all about the typecast (JRD_NOD). Now I can't even find that type in the entire source and what is happening is integer i is cast to it. I can't help as I have no idea what JRD_NOD is as a type so no idea what you should do.

RosX1
Posts: 17
Joined: Wed Apr 20, 2016 7:14 am

Re: Building Firebird 1.5 from source

Fri Jul 28, 2017 11:42 am

Hi,
After few adjustments I managed to build Firebird 1.5!
It's up and running from 3 weeks and seems to work fine.
Thank you for all your help! :)

guardian
Posts: 1
Joined: Tue Feb 06, 2018 4:53 pm

Re: Building Firebird 1.5 from source

Tue Feb 06, 2018 5:19 pm

Hey, how did you resolve the compilation in the end? I'm fighting with it as well and getting stuck on creation of "empty.fdb".

Thanks
Jaroslav

Return to “C/C++”