[PORTS] Port Postgres on the Acme system FOXBOARD
"romain Hamery" <[email protected]> Tue, 12 Feb 2008 10:43:27 +0100
| Newsgroups | gmane.comp.db.postgresql.ports |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_5859_29212556.1202809407903 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi ! For my project I would like to port the PostgreSQL on the Acme system FOXBOARD (http://www.acmesystems.it/?id=3D4). 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 t= o find an example of cross-compilation. I have tried to use the command ./configure with many arguments : ./configure --host=3Dcris-axis-linux-gnu --prefix=3D/home/romain/postgresql_out/ CC=3D"/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=E9pertoire =AB /home/romain/postgresql-8.2.5/src/tim= ezone =BB make[1]: *** [all] Erreur 2 make[1]: quittant le r=E9pertoire =AB /home/romain/postgresql-8.2.5/src =BB make: *** [all] Erreur 2 Do somebody have any information on how to do the cross-compilation and to solve my problem ? Thanks a lot. Romain ------=_Part_5859_29212556.1202809407903 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi !<br><br>For my project I would like to port the PostgreSQL on the Acme = system FOXBOARD (<a href=3D"http://www.acmesystems.it/?id=3D4">http://www.a= cmesystems.it/?id=3D4</a>). 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 exa= mple of cross-compilation.<br> <br>I have tried to use the command ./configure with many arguments :<br><b= r style=3D"font-style: italic;"><span style=3D"font-style: italic;"> .= /configure --host=3Dcris-axis-linux-gnu --prefix=3D/home/romain/postgresql_= out/ CC=3D"/usr/local/cris/bin/gcc-cris -mlinux" --without-readli= ne --without-zlib</span><br> <br> But when I launch the command make it tells me :<br><br><span sty= le=3D"font-style: italic;">/usr/local/cris/bin/gcc-cris -mlinux -O2 -Wall -= Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing -I../../s= rc/include -D_GNU_SOURCE -c -o localtime.o localtime.c</span><b= r style=3D"font-style: italic;"> <span style=3D"font-style: italic;">/usr/local/cris/bin/gcc-cris -mlinux -O= 2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing = -I../../src/include -D_GNU_SOURCE -c -o strftime.o strftime.c</= span><br style=3D"font-style: italic;"> <span style=3D"font-style: italic;">/usr/local/cris/bin/gcc-cris -mlinux -O= 2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing = -I../../src/include -D_GNU_SOURCE -c -o pgtz.o pgtz.c</span><br= style=3D"font-style: italic;"> <span style=3D"font-style: italic;">/usr/local/cris/cris-axis-linux-gnu/bin= /ld -r -o SUBSYS.o localtime.o strftime.o pgtz.o</span><br style=3D"font-st= yle: italic;"><span style=3D"font-style: italic;">/usr/local/cris/cris-axis= -linux-gnu/bin/ld: localtime.o: uses non-prefixed symbols, but writing file= with _-prefixed symbols</span><br style=3D"font-style: italic;"> <span style=3D"font-style: italic;">Bad value: failed to merge target speci= fic data of file localtime.o</span><br style=3D"font-style: italic;"><span = style=3D"font-style: italic;">/usr/local/cris/cris-axis-linux-gnu/bin/ld: s= trftime.o: uses non-prefixed symbols, but writing file with _-prefixed symb= ols</span><br style=3D"font-style: italic;"> <span style=3D"font-style: italic;">Bad value: failed to merge target speci= fic data of file strftime.o</span><br style=3D"font-style: italic;"><span s= tyle=3D"font-style: italic;">/usr/local/cris/cris-axis-linux-gnu/bin/ld: pg= tz.o: uses non-prefixed symbols, but writing file with _-prefixed symbols</= span><br style=3D"font-style: italic;"> <span style=3D"font-style: italic;">Bad value: failed to merge target speci= fic data of file pgtz.o</span><br style=3D"font-style: italic;"><span style= =3D"font-style: italic;">make[2]: *** [SUBSYS.o] Erreur 1</span><br style= =3D"font-style: italic;"> <span style=3D"font-style: italic;">make[2]: quittant le r=E9pertoire =AB /= home/romain/postgresql-8.2.5/src/timezone =BB</span><br style=3D"font-style= : italic;"><span style=3D"font-style: italic;">make[1]: *** [all] Erreur 2<= /span><br style=3D"font-style: italic;"> <span style=3D"font-style: italic;">make[1]: quittant le r=E9pertoire =AB /= home/romain/postgresql-8.2.5/src =BB</span><br style=3D"font-style: italic;= "><span style=3D"font-style: italic;">make: *** [all] Erreur 2</span><br><b= r>Do somebody have any information on how to do the cross-compilation and t= o solve my problem ?<br> <br>Thanks a lot.<br><br>Romain<br> ------=_Part_5859_29212556.1202809407903--