Opened 15 years ago
Closed 10 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)
Change History (7)
Changed 15 years ago by ceharris414@…
Attachment: | TestRunner.c added |
---|
comment:1 Changed 15 years ago by ceharris414@…
Forgot to mention this is Mac OS X 10.6 and XCode 3.2.
comment:2 follow-up: 3 Changed 15 years ago by mf2k (Frank Schima)
Port: | cunit added |
---|
comment:3 Changed 15 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:5 Changed 14 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 10 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Appears to have been fixed by r105510. This would have been caught at build time if it hadn’t been linking with -undefined suppress.
Test runner program