navit-project.org

forum for navit navigation tool
It is currently 20 Aug 2017, 17:30
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the installation and configuration of Navit.

Some notes before your first post:

Please provide as much informations as possible:



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: gpx2navit_txt does not compile anymore
PostPosted: 29 Mar 2014, 08:51 
Offline

Joined: 29 Mar 2014, 08:46
Posts: 7
Hello,

I just tried to compile gpx2navit_txt on a current Debian testing system and got

Code:
rd@blackbox:~/SW.nobackup/navit-new/navit/navit/tools/gpx2navit_txt$ ./autogen.sh
aclocal: warning: couldn't open directory 'm4': Datei oder Verzeichnis nicht gefunden
configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:6: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.ac:11: installing './compile'
src/Makefile.am:20: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
rd@blackbox:~/SW.nobackup/navit-new/navit/navit/tools/gpx2navit_txt$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for pj_param in -lproj... yes
checking for pj_init in -lproj... yes
checking for XML_SetUserData in -lexpat... yes
checking for cos in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for memset... yes
checking for sqrt... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
rd@blackbox:~/SW.nobackup/navit-new/navit/navit/tools/gpx2navit_txt$ make
Making all in src
make[1]: Entering directory `/home/rd/SW.nobackup/navit-new/navit/navit/tools/gpx2navit_txt/src'
make  all-am
make[2]: Entering directory `/home/rd/SW.nobackup/navit-new/navit/navit/tools/gpx2navit_txt/src'
gcc -DHAVE_CONFIG_H -I. -I.   -g  -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -MT geod_for.o -MD -MP -MF .deps/geod_for.Tpo -c -o geod_for.o geod_for.c
mv -f .deps/geod_for.Tpo .deps/geod_for.Po
gcc -DHAVE_CONFIG_H -I. -I.   -g  -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -MT geod_inv.o -MD -MP -MF .deps/geod_inv.Tpo -c -o geod_inv.o geod_inv.c
mv -f .deps/geod_inv.Tpo .deps/geod_inv.Po
gcc -DHAVE_CONFIG_H -I. -I.   -g  -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -MT geod_set.o -MD -MP -MF .deps/geod_set.Tpo -c -o geod_set.o geod_set.c
geod_set.c: In function ‘geod_set’:
geod_set.c:52:5: warning: passing argument 1 of ‘pj_ell_set’ from incompatible pointer type [enabled by default]
     if (pj_ell_set(start, &geod_a, &es))
     ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:365:5: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 int pj_ell_set(projCtx ctx, paralist *, double *, double *);
     ^
geod_set.c:52:5: warning: passing argument 2 of ‘pj_ell_set’ from incompatible pointer type [enabled by default]
     if (pj_ell_set(start, &geod_a, &es))
     ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:365:5: note: expected ‘struct paralist *’ but argument is of type ‘double *’
 int pj_ell_set(projCtx ctx, paralist *, double *, double *);
     ^
geod_set.c:52:5: error: too few arguments to function ‘pj_ell_set’
     if (pj_ell_set(start, &geod_a, &es))
     ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:365:5: note: declared here
 int pj_ell_set(projCtx ctx, paralist *, double *, double *);
     ^
geod_set.c:57:5: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
     if ((name = pj_param(start, "sunits").s)) { /* added parentheses */
     ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:57:5: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
     if ((name = pj_param(start, "sunits").s)) { /* added parentheses */
     ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:57:5: error: too few arguments to function ‘pj_param’
     if ((name = pj_param(start, "sunits").s)) { /* added parentheses */
     ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:79:5: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
     if (pj_param(start, "tlat_1").i) {
     ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:79:5: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
     if (pj_param(start, "tlat_1").i) {
     ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:79:5: error: too few arguments to function ‘pj_param’
     if (pj_param(start, "tlat_1").i) {
     ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:82:2: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
  phi1 = pj_param(start, "rlat_1").f;
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:82:2: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
  phi1 = pj_param(start, "rlat_1").f;
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:82:2: error: too few arguments to function ‘pj_param’
  phi1 = pj_param(start, "rlat_1").f;
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:83:2: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
  lam1 = pj_param(start, "rlon_1").f;
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:83:2: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
  lam1 = pj_param(start, "rlon_1").f;
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:83:2: error: too few arguments to function ‘pj_param’
  lam1 = pj_param(start, "rlon_1").f;
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:84:2: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
  if (pj_param(start, "tlat_2").i) {
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:84:2: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
  if (pj_param(start, "tlat_2").i) {
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:84:2: error: too few arguments to function ‘pj_param’
  if (pj_param(start, "tlat_2").i) {
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:85:6: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
      phi2 = pj_param(start, "rlat_2").f;
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:85:6: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
      phi2 = pj_param(start, "rlat_2").f;
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:85:6: error: too few arguments to function ‘pj_param’
      phi2 = pj_param(start, "rlat_2").f;
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:86:6: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
      lam2 = pj_param(start, "rlon_2").f;
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:86:6: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
      lam2 = pj_param(start, "rlon_2").f;
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:86:6: error: too few arguments to function ‘pj_param’
      lam2 = pj_param(start, "rlon_2").f;
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:89:2: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
  } else if ((geod_S = pj_param(start, "dS").f)) { /* added
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:89:2: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
  } else if ((geod_S = pj_param(start, "dS").f)) { /* added
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:89:2: error: too few arguments to function ‘pj_param’
  } else if ((geod_S = pj_param(start, "dS").f)) { /* added
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:92:6: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
      al12 = pj_param(start, "rA").f;
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:92:6: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
      al12 = pj_param(start, "rA").f;
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:92:6: error: too few arguments to function ‘pj_param’
      al12 = pj_param(start, "rA").f;
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:97:2: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
  if ((n_alpha = pj_param(start, "in_A").i) > 0) {
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:97:2: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
  if ((n_alpha = pj_param(start, "in_A").i) > 0) {
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:97:2: error: too few arguments to function ‘pj_param’
  if ((n_alpha = pj_param(start, "in_A").i) > 0) {
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:98:6: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
      if (!(del_alpha = pj_param(start, "rdel_A").f))
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:98:6: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
      if (!(del_alpha = pj_param(start, "rdel_A").f))
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:98:6: error: too few arguments to function ‘pj_param’
      if (!(del_alpha = pj_param(start, "rdel_A").f))
      ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:100:2: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
  } else if ((del_S = fabs(pj_param(start, "ddel_S").f))) { /* added
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:100:2: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
  } else if ((del_S = fabs(pj_param(start, "ddel_S").f))) { /* added
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:100:2: error: too few arguments to function ‘pj_param’
  } else if ((del_S = fabs(pj_param(start, "ddel_S").f))) { /* added
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:104:2: warning: passing argument 1 of ‘pj_param’ from incompatible pointer type [enabled by default]
  } else if ((n_S = pj_param(start, "in_S").i) <= 0)
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘projCtx’ but argument is of type ‘struct paralist *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:104:2: warning: passing argument 2 of ‘pj_param’ from incompatible pointer type [enabled by default]
  } else if ((n_S = pj_param(start, "in_S").i) <= 0)
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: expected ‘struct paralist *’ but argument is of type ‘char *’
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
geod_set.c:104:2: error: too few arguments to function ‘pj_param’
  } else if ((n_S = pj_param(start, "in_S").i) <= 0)
  ^
In file included from geod_set.c:29:0:
/usr/include/projects.h:363:8: note: declared here
 PVALUE pj_param(projCtx ctx, paralist *, const char *);
        ^
make[2]: *** [geod_set.o] Fehler 1
make[2]: Leaving directory `/home/rd/SW.nobackup/navit-new/navit/navit/tools/gpx2navit_txt/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/rd/SW.nobackup/navit-new/navit/navit/tools/gpx2navit_txt/src'
make: *** [all-recursive] Fehler 1
rd@blackbox:~/SW.nobackup/navit-new/navit/navit/tools/gpx2navit_txt$


Does anybody understand what does go wrong?

Thanks,
Rainer


 Profile  
 
 Post subject: Re: gpx2navit_txt does not compile anymore
PostPosted: 18 Apr 2014, 16:51 
Offline

Joined: 29 Mar 2014, 08:46
Posts: 7
The problem seems to be related to an upgrade of libproj.

A similar issue is discussed here

https://bugs.debian.org/cgi-bin/bugrepo ... bug=733381

Kind regards,
Rainer


 Profile  
 
 Post subject: Re: gpx2navit_txt does not compile anymore
PostPosted: 18 Apr 2014, 16:56 
Offline

Joined: 29 Mar 2014, 08:46
Posts: 7
Here is the commit which fixes the issue for gpx2shp:

http://sourceforge.jp/projects/gpx2shp/ ... commits/23


 Profile  
 
 Post subject: Re: gpx2navit_txt does not compile anymore
PostPosted: 06 May 2014, 13:32 
Offline

Joined: 23 Jun 2013, 20:15
Posts: 65
Location: Essen, Germany
Thanks for the extensive report.

I created a bug ticket: http://trac.navit-project.org/ticket/1210

However, it might take a while until someone can take care of this (no one has worked on gpx2navit_txt in the last two years). Feel free to supply a patch ;) .


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS