Ticket #6675 (closed defect: fixed)
BUG: palm-db-tools-0.3.6 should link with g++, not gcc
| Reported by: | cssdev@… | Owned by: | cssdev@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.0 |
| Keywords: | Cc: | darwinports-bugs@… | |
| Port: |
Description
When palm-db-tools builds, it incorrectly uses the C compiler to links objects using C++ code. This results in an error:
gcc pdb2csv.o -o pdb2csv libpdbtools.a ../libflatfile/libflatfile.a ../libsupport/libsupport.a ../libpalm/ libpalm.a -lstdc++ /usr/bin/ld: Undefined symbols: Unwind_Resume collect2: ld returned 1 exit status make: * [pdb2csv] Error 1
This error indicates the need to link C++ code using the C++ compiler rather than the C compiler. The workaround is to patch flatfile's Makefile.in. I modified the Portfile to perform this modification.
Attachments
Change History
Changed 7 years ago by cssdev@…
- Attachment patch-Portfile.diff added
Note: See
TracTickets for help on using
tickets.


patch palm-db-tools Portfile