View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0000487 | OMNeT++ | command line tools | public | 2011-12-15 13:52 | 2011-12-15 13:53 |
|
Reporter | rhornig | |
Assigned To | rhornig | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 4.2 | |
Target Version | | Fixed in Version | 4.2.1 | |
|
Summary | 0000487: Model in shared lib is not linked to an other model built as an executable |
Description | When you build an executable that directly links with an other model that was built as a shared lib AND the your model does not refer any symbols in the shared lib model AND you are running on a system with GCC 4.6 then the shared lib will not be linked to the executable model (the linker optimizes it out). |
Additional Information | Solution, library references should be prefixed with $AS_NEEDED_OFF (similarily how WHOLE_ARCHIVE_ON s used for static libs) in the generated makefiles. $AS_NEEDED_OFF is used for the same purpose for dynamic libs. |
Tags | No tags attached. |
|
Attached Files | |
|