Opened 10 years ago

Closed 9 years ago

#20961 closed defect (fixed)

ctool @1.2.3_1 fails to build 64-bit, undefined symbol _map_fd

Reported by: nerdling (Jeremy L) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: LP64 Cc:
Port: ctool

Description

DEBUG: Executing org.macports.build (ctool)
DEBUG: Environment: CPATH='/opt/local/include' CPPFLAGS='-I/opt/local/include' CFLAGS='-O2' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' LDFLAGS='-L/opt/local/lib' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_ctool/work/ctool-1.2.3" && /usr/bin/nice -n 10 /usr/bin/make -j2 all'
/usr/bin/gcc-4.2 -O2 -I/opt/local/include -L/opt/local/lib -o ctool safe_string.o ctool.o -lcurl -lssl -lcrypto
Undefined symbols:
  "_map_fd", referenced from:
      _process_file in ctool.o

There are also a bunch of warnings for types being different.

Change History (4)

comment:1 Changed 10 years ago by nerdling (Jeremy L)

Summary: ctools @1.2.3_1 fails to build, undefined symbolctool @1.2.3_1 fails to build, undefined symbol

comment:2 Changed 10 years ago by tobypeterson

Version: 1.8.99

map_fd has been removed in 64-bit; code needs to be patched to use mmap.

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Keywords: LP64 added; snowleopard removed
Summary: ctool @1.2.3_1 fails to build, undefined symbolctool @1.2.3_1 fails to build 64-bit, undefined symbol _map_fd

comment:4 Changed 9 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.