Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#57330 closed defect (duplicate)

netbpm fails to build (getline)

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

Description (last modified by mf2k (Frank Schima))

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.

Attachments (2)

noopt.txt (892.1 KB) - added by rmottola (Riccardo) 6 years ago.
plain build log no options (uses system gcc 4.2)
gcc6.txt (888.2 KB) - added by rmottola (Riccardo) 6 years ago.
build with macports gcc6

Download all attachments as: .zip

Change History (7)

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

comment:1 Changed 6 years ago by rmottola (Riccardo)

Owner: set to ryandesign
Status: newassigned

Tried do put ryan in cc because maintainer, cannot, so reassigned.

comment:2 Changed 6 years ago by kencu (Ken)

Looks like a duplicate of #57265

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 6 years ago by rmottola (Riccardo)

@kencu it looks so, it means it affects 10.6 too then

comment:4 Changed 6 years ago by kencu (Ken)

Resolution: duplicate
Status: assignedclosed

OK. I'll close this one then, and we can follow on that one.

duplicate of 57265

comment:5 Changed 6 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: netpbm getline removed
Note: See TracTickets for help on using tickets.