Opened 10 years ago

Closed 5 years ago

#1058 closed defect/bug (fixed)

navit compile fails at maptool

Reported by: jacob brandenburg Owned by: KaZeR
Priority: major Milestone: version 0.5.1
Component: install Version: git master
Severity: normal Keywords: make, cmake, macos
Cc:

Description

Make fails with

ld: duplicate symbol _map_information_attrs in ./.libs/libmaptool.a(osm.o) and ./.libs/libmaptool.a(zip.o)
collect2: ld returned 1 exit status
make[4]: *** [maptool] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Here is my setup:

navit version: svn OS: OS X 10.5.8 (w/ Xcode 3.1.3 and MacPorts? 2.1.2)

Attached is the complete output of configure and make.

Attachments (4)

navitConfig (28.1 KB) - added by jacob brandenburg 10 years ago.
navitMakePart1 (177.9 KB) - added by jacob brandenburg 10 years ago.
navitMakePart2 (152.4 KB) - added by jacob brandenburg 10 years ago.
navitMakePart3 (219.6 KB) - added by jacob brandenburg 10 years ago.

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by jacob brandenburg

Changed 10 years ago by jacob brandenburg

Changed 10 years ago by jacob brandenburg

Changed 10 years ago by jacob brandenburg

comment:1 Changed 9 years ago by usul

  • Keywords make cmake macos added
  • Milestone set to version 0.5.1

Can you please retry this with the cmake?

Successful building on major OS is essential, so I schedule for next hotfix.

comment:2 Changed 9 years ago by sleske

Note that the autotools build has been deprecated for a while. Maybe we should just remove it...

comment:3 Changed 8 years ago by usul

  • Severity set to normal

For Linux (Ubuntu here) and current SVN building maptool using cmake works fine.

comment:4 Changed 5 years ago by http://wiki.navit-project.org/index.php/user:jkoan

  • Resolution set to fixed
  • Status changed from new to closed

As said before autotools was deprecated and cmake is our way to compile everything. If the error still exists with cmake please open a new Ticket.

Note: See TracTickets for help on using tickets.