From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-db3on0103.outbound.protection.outlook.com ([157.55.234.103] helo=emea01-db3-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XWR8D-0002gJ-DL for ptxdist@pengutronix.de; Tue, 23 Sep 2014 16:31:54 +0200 From: Mathias Stucki Date: Tue, 23 Sep 2014 14:31:46 +0000 Message-ID: <1389b07edeb241b38108bf914a98b24d@AMSPR04MB277.eurprd04.prod.outlook.com> References: <375506ce679142afb5f4c8c3b146998d@AMSPR04MB277.eurprd04.prod.outlook.com> <201409230825.20484.jbe@pengutronix.de> <653830caf02a43abbfbc2b0ba42359a0@AMSPR04MB277.eurprd04.prod.outlook.com> In-Reply-To: <653830caf02a43abbfbc2b0ba42359a0@AMSPR04MB277.eurprd04.prod.outlook.com> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] Firebird compile errors Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "'ptxdist@pengutronix.de'" The installing of the "libatomic-ops" library has solved a lot of errors. But now I have a bunch of other errors: ------------------------ target: firebird.compile ------------------------ make[1]: Entering directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-= AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3' make -C gen firebird make[2]: Entering directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-= AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' (cd ..; ./src/misc/writeBuildNum.sh rebuildHeader) make boot_phase1_build make -j1 -f ../gen/Makefile.libfbstatic libfbstatic make -f ../gen/Makefile.static.createdb make[3]: Entering directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-= AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make -j1 -f ../gen/Makefile.boot.gpre gpre_boot make -f ../gen/Makefile.refDatabases empty_db files are identical make -j1 -f ../gen/Makefile.static.gbak make -j1 -f ../gen/Makefile.static.isql make[3]: Entering directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-= AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make -j1 -f ../gen/Makefile.libfbstatic libfbstatic make[3]: warning: -jN forced in submake: disabling jobserver mode. make[3]: Entering directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-= AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[3]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-A= M335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[3]: Entering directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-= AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[3]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-A= M335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[3]: *** No rule to make target `../gen/firebird/lib/libfbstatic.a', ne= eded by `../gen/firebird/bin/create_db'. Stop. make[3]: *** No rule to make target `../gen/firebird/bin/create_db', needed= by `empty.fdb'. Stop. make[4]: warning: -jN forced in submake: disabling jobserver mode. make[4]: Entering directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-= AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[3]: make[3]: Entering directory `/media/EmbeddedLinux/FCS_Base/project= /phyCORE-AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' warning: -jN forced in submake: disabling jobserver mode. make -j1 -f ../gen/Makefile.static.gpre gpre_static make[4]: Entering directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-= AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[4]: warning: -jN forced in submake: disabling jobserver mode. make[4]: Entering directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-= AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[4]: warning: -jN forced in submake: disabling jobserver mode. ../gen/firebird/bin/gpre_current -r -m -z -n ../src/burp/backup.epp ../temp= /boot/burp/backup.cpp make[2]: *** [create_db] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [empty_db] Error 2 ../gen/firebird/bin/gpre_boot -lang_internal -r -m -z -n ../src/gpre/gpre_m= eta.epp ../src/gpre/gpre_meta.cpp ../gen/firebird/bin/gpre_current: 1: ../gen/firebird/bin/gpre_current: Synt= ax error: word unexpected (expecting ")") make[3]: *** [../temp/boot/burp/backup.cpp] Error 2 make[3]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-A= M335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[2]: *** [gbak_static] Error 2 make[4]: Nothing to be done for `gpre_boot'. make[4]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-A= M335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' ../gen/firebird/bin/gpre_boot: 1: ../gen/firebird/bin/gpre_boot: Syntax err= or: word unexpected (expecting ")") make[4]: *** [../src/gpre/gpre_meta.cpp] Error 2 make[4]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-A= M335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[3]: *** [gpre_static] Error 2 make[3]: *** Waiting for unfinished jobs.... ../gen/firebird/bin/gpre_current -n -z -gds_cxx -raw -ids ../src/jrd/dpm.ep= p ../temp/boot/jrd/dpm.cpp ../gen/firebird/bin/gpre_current: 1: ../gen/firebird/bin/gpre_current: Synt= ax error: word unexpected (expecting ")") make[3]: *** [../temp/boot/jrd/dpm.cpp] Error 2 make[3]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-A= M335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[2]: *** [libfbstatic] Error 2 ../gen/firebird/bin/gpre_current -n -z -gds_cxx -raw -ids ../src/jrd/dpm.ep= p ../temp/boot/jrd/dpm.cpp ../gen/firebird/bin/gpre_current: 1: ../gen/firebird/bin/gpre_current: Synt= ax error: word unexpected (expecting ")") make[4]: *** [../temp/boot/jrd/dpm.cpp] Error 2 make[4]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-A= M335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[3]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-A= M335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3/gen' make[3]: *** [libfbstatic] Error 2 make[2]: *** [../gen/firebird/bin/gpre_static] Error 2 make[2]: *** wait: No child processes. Stop. make[1]: *** [firebird] Error 2 make[1]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-A= M335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3' make: *** [/media/EmbeddedLinux/FCS_Base/project/phyCORE-AM335x-PD13.1.2/pl= atform-FCS-Base/state/firebird.compile] Error 2 any ideas? Thanks and regards Mathias -----Original Message----- From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-bounces@pengutronix.de= ] On Behalf Of Mathias Stucki Sent: Tuesday, September 23, 2014 11:15 AM To: ptxdist@pengutronix.de Subject: Re: [ptxdist] Firebird compile errors Hi J=FCrgen, Thank you for the warm welcome! :-) Yes, that's exactly what I'm trying to do. I'm using an AM335x processor (ARM Cortex-A8). = The file "fb_atomic.h" is from the firebird package itself. At the moment I'm installing the libatomic-ops package, I think this lib is= used for the firebird package. Kind regards Mathias -----Original Message----- From: Juergen Borleis [mailto:jbe@pengutronix.de] Sent: Tuesday, September 23, 2014 8:25 AM To: ptxdist@pengutronix.de Cc: Mathias Stucki Subject: Re: [ptxdist] Firebird compile errors Hi Mathias, On Monday 22 September 2014 15:45:33 Mathias Stucki wrote: > I am trying to compile Firebird-2.5.3 with ptxdist-2014.09.0, using = > OSELAS.Toolchain-2013.12.2. Unfortunately I'm getting a lot of compile = > errors. Welcome to the club! :) It seems you try to port your own new package, isn't it? > For example: > > > ../src/include/../common/classes/fb_atomic.h:521:2: error: #error > AtomicCounter: implement appropriate code for your platform! #error > AtomicCounter: implement appropriate code for your platform! > > > ../src/jrd/../jrd/../jrd/Database.h:194:27: error: field 'waiters' has = > incomplete type Firebird::AtomicCounter waiters; > > > Can anyone help me with this "AtomicCounter" Error? What kind of target architecture do you use? Is the "fb_atomic.h" from the Firebird-2.5.3 sources itself or from a different (external) library? Regards, Juergen -- Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Industrial Linux Solutions =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- ptxdist mailing list ptxdist@pengutronix.de -- = ptxdist mailing list ptxdist@pengutronix.de