Opened 6 years ago

Last modified 6 years ago

#57330 closed defect

netbpm fails to build (getline) — at Initial Version

Reported by: rmottola (Riccardo) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc:
Port: netpbm

Description

netpbm fails to build on Leopard 10.5

/opt/local/bin/gcc-mp-6 -o pbmtopgm pbmtopgm.o -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_netpbm/netpbm/work/advanced-r3369/lib -lnetpbm -L/opt/local/lib -Wl,-headerpad_max_install_names -lm Undefined symbols for architecture i386:

"_getline", referenced from:

_process_next_command in input.o

ld: symbol(s) not found for architecture i386 collect2: error: ld returned 1 exit status

Failure happens both with system gcc 4.2 and with gcc 6 from macports. Clang 3.9 also has the same error.

Change History (2)

Changed 6 years ago by rmottola (Riccardo)

Attachment: noopt.txt added

plain build log no options (uses system gcc 4.2)

Changed 6 years ago by rmottola (Riccardo)

Attachment: gcc6.txt added

build with macports gcc6

Note: See TracTickets for help on using tickets.