Opened 14 years ago

Closed 9 years ago

#22040 closed defect (fixed)

cunit-2.1_0_1 has unresolved reference at link time

Reported by: ceharris414@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: cunit

Description

When launching a simple test runner linked against cunit-2.1_0_1, dyld throws the following error for a symbol in ncurses. Explicitly linking against ncurses and cunit resolves the reference. CUnit built from original sources does not have this problem.

Test runner attached.

dyld: Symbol not found: _acs_map
  Referenced from: /opt/local/lib/libcunit.1.dylib
  Expected in: flat namespace
 in /opt/local/lib/libcunit.1.dylib

Attachments (1)

TestRunner.c (678 bytes) - added by ceharris414@… 14 years ago.
Test runner program

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by ceharris414@…

Attachment: TestRunner.c added

Test runner program

comment:1 Changed 14 years ago by ceharris414@…

Forgot to mention this is Mac OS X 10.6 and XCode 3.2.

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Port: cunit added

comment:3 in reply to:  2 Changed 14 years ago by seth@…

Hey there, just wondering if this has been fixed. I just installed Macports from SVN to install CUnit, but I'm getting the same error as the original poster. (Same setup also) Thanks, Seth

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #24193.

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Did you configure with --enable-curses when you built cunit yourself? I really think this is an upstream problem (if indeed it's not just meant to work that way).

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

Resolution: fixed
Status: newclosed

Appears to have been fixed by r105510. This would have been caught at build time if it hadn’t been linking with -undefined suppress.

Note: See TracTickets for help on using tickets.