From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-db3on0108.outbound.protection.outlook.com ([157.55.234.108] helo=emea01-db3-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XW3vv-0004Zg-Cs for ptxdist@pengutronix.de; Mon, 22 Sep 2014 15:45:40 +0200 From: Mathias Stucki Date: Mon, 22 Sep 2014 13:45:33 +0000 Message-ID: <375506ce679142afb5f4c8c3b146998d@AMSPR04MB277.eurprd04.prod.outlook.com> Content-Language: de-DE MIME-Version: 1.0 Subject: [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: multipart/mixed; boundary="===============1411760087==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "'ptxdist@pengutronix.de'" --===============1411760087== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_375506ce679142afb5f4c8c3b146998dAMSPR04MB277eurprd04pro_" --_000_375506ce679142afb5f4c8c3b146998dAMSPR04MB277eurprd04pro_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, 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. For example: ../src/include/../common/classes/fb_atomic.h:521:2: error: #error AtomicCou= nter: 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 inco= mplete type Firebird::AtomicCounter waiters; Can anyone help me with this "AtomicCounter" Error? Kind regards Mathias --_000_375506ce679142afb5f4c8c3b146998dAMSPR04MB277eurprd04pro_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I am trying to compile Fir= ebird-2.5.3 with ptxdist-2014.09.0, using OSELAS.Toolchain-2013.12.2.<= /o:p>

Unfortunately I’m ge= tting a lot of compile errors.

 

For example:

 

 

../src/include/../commo= n/classes/fb_atomic.h:521:2: error: #error AtomicCounter: implement appropr= iate code for your platform!

#error AtomicCounter: i= mplement appropriate code for your platform!

 

 

../src/jrd/../jrd/../jr= d/Database.h:194:27: error: field 'waiters' has incomplete type<= /span>

   Firebird::= AtomicCounter waiters;

 

 =

Can anyone help me with = this “AtomicCounter” Error?

 =

Kind regards<= /span>

 =

Mathias

--_000_375506ce679142afb5f4c8c3b146998dAMSPR04MB277eurprd04pro_-- --===============1411760087== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1411760087==-- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-db3on0114.outbound.protection.outlook.com ([157.55.234.114] helo=emea01-db3-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XWMBd-0005Ld-EV for ptxdist@pengutronix.de; Tue, 23 Sep 2014 11:15:06 +0200 From: Mathias Stucki Date: Tue, 23 Sep 2014 09:14:57 +0000 Message-ID: <653830caf02a43abbfbc2b0ba42359a0@AMSPR04MB277.eurprd04.prod.outlook.com> References: <375506ce679142afb5f4c8c3b146998d@AMSPR04MB277.eurprd04.prod.outlook.com> <201409230825.20484.jbe@pengutronix.de> In-Reply-To: <201409230825.20484.jbe@pengutronix.de> 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" 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Borleis Date: Tue, 23 Sep 2014 08:25:20 +0200 References: <375506ce679142afb5f4c8c3b146998d@AMSPR04MB277.eurprd04.prod.outlook.com> In-Reply-To: <375506ce679142afb5f4c8c3b146998d@AMSPR04MB277.eurprd04.prod.outlook.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201409230825.20484.jbe@pengutronix.de> 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-15" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Mathias Stucki 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