mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Firebird compile errors
@ 2014-09-22 13:45 Mathias Stucki
  2014-09-23  6:25 ` Juergen Borleis
  0 siblings, 1 reply; 4+ messages in thread
From: Mathias Stucki @ 2014-09-22 13:45 UTC (permalink / raw)
  To: 'ptxdist@pengutronix.de'


[-- Attachment #1.1: Type: text/plain, Size: 589 bytes --]

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

Kind regards

Mathias

[-- Attachment #1.2: Type: text/html, Size: 5500 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] Firebird compile errors
  2014-09-22 13:45 [ptxdist] Firebird compile errors Mathias Stucki
@ 2014-09-23  6:25 ` Juergen Borleis
  2014-09-23  9:14   ` Mathias Stucki
  0 siblings, 1 reply; 4+ messages in thread
From: Juergen Borleis @ 2014-09-23  6:25 UTC (permalink / raw)
  To: ptxdist; +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.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] Firebird compile errors
  2014-09-23  6:25 ` Juergen Borleis
@ 2014-09-23  9:14   ` Mathias Stucki
  2014-09-23 14:31     ` Mathias Stucki
  0 siblings, 1 reply; 4+ messages in thread
From: Mathias Stucki @ 2014-09-23  9:14 UTC (permalink / raw)
  To: ptxdist

Hi Jürgen,

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.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] Firebird compile errors
  2014-09-23  9:14   ` Mathias Stucki
@ 2014-09-23 14:31     ` Mathias Stucki
  0 siblings, 0 replies; 4+ messages in thread
From: Mathias Stucki @ 2014-09-23 14:31 UTC (permalink / raw)
  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-AM335x-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-AM335x-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', needed 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_meta.epp ../src/gpre/gpre_meta.cpp
../gen/firebird/bin/gpre_current: 1: ../gen/firebird/bin/gpre_current: Syntax error: word unexpected (expecting ")")
make[3]: *** [../temp/boot/burp/backup.cpp] Error 2
make[3]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-AM335x-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-AM335x-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 error: word unexpected (expecting ")")
make[4]: *** [../src/gpre/gpre_meta.cpp] Error 2
make[4]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-AM335x-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.epp ../temp/boot/jrd/dpm.cpp
../gen/firebird/bin/gpre_current: 1: ../gen/firebird/bin/gpre_current: Syntax error: word unexpected (expecting ")")
make[3]: *** [../temp/boot/jrd/dpm.cpp] Error 2
make[3]: Leaving directory `/media/EmbeddedLinux/FCS_Base/project/phyCORE-AM335x-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.epp ../temp/boot/jrd/dpm.cpp
../gen/firebird/bin/gpre_current: 1: ../gen/firebird/bin/gpre_current: Syntax error: word unexpected (expecting ")")
make[4]: *** [../temp/boot/jrd/dpm.cpp] Error 2
make[4]: Leaving 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-AM335x-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-AM335x-PD13.1.2/platform-FCS-Base/build-target/Firebird-2.5.3'
make: *** [/media/EmbeddedLinux/FCS_Base/project/phyCORE-AM335x-PD13.1.2/platform-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ürgen,

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.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

--
ptxdist mailing list
ptxdist@pengutronix.de

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-23 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-22 13:45 [ptxdist] Firebird compile errors Mathias Stucki
2014-09-23  6:25 ` Juergen Borleis
2014-09-23  9:14   ` Mathias Stucki
2014-09-23 14:31     ` Mathias Stucki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox