[Talk-it] Compilare navit
Giovanni Mascellani
g.mascellani at gmail.com
Tue May 27 11:46:57 BST 2008
Chiedo qui prima di rivolgermi più alla base, qualcuno di voi ha mai
provato a compilare navit da CVS? Riesco a compilare la versione 0.0.4,
e più o meno funzionicchia (si vede che è ancora pesantemente in
sviluppo e spesso crasha). Però la versione CVS non compila, da questo
errore:
> gcc-3.4 -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../../src -DMODULE=\"data_mg\" -g -O2 -Wall -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -ffast-math -MT map.lo -MD -MP -MF .deps/map.Tpo -c map.c -fPIC -DPIC -o .libs/map.o
> In file included from map.c:5:
> ../../../src/plugin.h:114:1: pasting "module_" and ""data_mg"" does not give a valid preprocessing token
> ../../../src/plugin.h:114:1: pasting ""data_mg"" and "_init" does not give a valid preprocessing token
> In file included from map.c:5:
> ../../../src/plugin.h:114: error: syntax error before string constant
> In file included from map.c:6:
> ../../../src/maptype.h:8: warning: "enum projection" declared inside parameter list
> ../../../src/maptype.h:8: warning: its scope is only this definition or declaration, which is probably not what you want
> map.c:463:1: pasting "module_" and ""data_mg"" does not give a valid preprocessing token
> map.c:463:1: pasting ""data_mg"" and "_init" does not give a valid preprocessing token
> map.c:463: error: syntax error before string constant
> make[5]: *** [map.lo] Error 1
> make[5]: Leaving directory `/home/giovanni/compile-arena/navit/navit/src/data/mg'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/home/giovanni/compile-arena/navit/navit/src/data'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/giovanni/compile-arena/navit/navit/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/giovanni/compile-arena/navit/navit/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/giovanni/compile-arena/navit/navit'
> make: *** [all] Error 2
(mentre è nella cartella navit/src/data/mg).
Ho provato con gcc 3.4, 4.1, 4.2 e 4.3, ma nessuno ce l'ha fatta. Tutti
sono falliti nello stesso modo. Avete qualche idea in merito?
Giovanni.
--
Giovanni Mascellani <g.mascellani at gmail.com>
Pisa, Italy
Web: http://giomasce.altervista.org
SIP: g.mascellani at ekiga.net
Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org
GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD 003F FCB0 BB5C 5F1F BF70)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: Questa ? una parte del messaggio firmata digitalmente
URL: <http://lists.openstreetmap.org/pipermail/talk-it/attachments/20080527/16c08b4a/attachment.pgp>
More information about the Talk-it
mailing list