Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[PORTS] Port Postgres on the Acme system FOXBOARD

From: romain Hamery <romain.hamery(at)free.fr>
Date: Tue Feb 12 2008 - 04:43:27 EST


Hi !

For my project I would like to port the PostgreSQL on the Acme system FOXBOARD (http://www.acmesystems.it/?id=4). I have to cross-compile the sources with the CRIS architecture (gcc-cris compiler already installed on my computer). I work with version 8.2.5 of Postgres. And it is impossible to find an example of cross-compilation.

I have tried to use the command ./configure with many arguments :

 ./configure --host=cris-axis-linux-gnu
--prefix=/home/romain/postgresql_out/ CC="/usr/local/cris/bin/gcc-cris
-mlinux" --without-readline --without-zlib

 But when I launch the command make it tells me :

/usr/local/cris/bin/gcc-cris -mlinux -O2 -Wall -Wmissing-prototypes
-Wpointer-arith -Winline -fno-strict-aliasing -I../../src/include
-D_GNU_SOURCE -c -o localtime.o localtime.c
/usr/local/cris/bin/gcc-cris -mlinux -O2 -Wall -Wmissing-prototypes
-Wpointer-arith -Winline -fno-strict-aliasing -I../../src/include
-D_GNU_SOURCE -c -o strftime.o strftime.c
/usr/local/cris/bin/gcc-cris -mlinux -O2 -Wall -Wmissing-prototypes
-Wpointer-arith -Winline -fno-strict-aliasing -I../../src/include
-D_GNU_SOURCE -c -o pgtz.o pgtz.c

/usr/local/cris/cris-axis-linux-gnu/bin/ld -r -o SUBSYS.o localtime.o strftime.o pgtz.o
/usr/local/cris/cris-axis-linux-gnu/bin/ld: localtime.o: uses non-prefixed symbols, but writing file with _-prefixed symbols Bad value: failed to merge target specific data of file localtime.o /usr/local/cris/cris-axis-linux-gnu/bin/ld: strftime.o: uses non-prefixed symbols, but writing file with _-prefixed symbols Bad value: failed to merge target specific data of file strftime.o /usr/local/cris/cris-axis-linux-gnu/bin/ld: pgtz.o: uses non-prefixed symbols, but writing file with _-prefixed symbols Bad value: failed to merge target specific data of file pgtz.o make[2]: *** [SUBSYS.o] Erreur 1
make[2]: quittant le répertoire « /home/romain/postgresql-8.2.5/src/timezone »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/romain/postgresql-8.2.5/src » make: *** [all] Erreur 2

Do somebody have any information on how to do the cross-compilation and to solve my problem ?

Thanks a lot.

Do you need help?X

Romain Received on Tue Feb 12 05:09:35 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:39:13 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library