mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Mathias Stucki <mathias.stucki@fasnacht.biz>
To: "'ptxdist@pengutronix.de'" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Firebird compile errors
Date: Tue, 23 Sep 2014 14:31:46 +0000	[thread overview]
Message-ID: <1389b07edeb241b38108bf914a98b24d@AMSPR04MB277.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <653830caf02a43abbfbc2b0ba42359a0@AMSPR04MB277.eurprd04.prod.outlook.com>

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

      reply	other threads:[~2014-09-23 14:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 13:45 Mathias Stucki
2014-09-23  6:25 ` Juergen Borleis
2014-09-23  9:14   ` Mathias Stucki
2014-09-23 14:31     ` Mathias Stucki [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389b07edeb241b38108bf914a98b24d@AMSPR04MB277.eurprd04.prod.outlook.com \
    --to=mathias.stucki@fasnacht.biz \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox