|
|
(62 intermediate revisions by 12 users not shown) |
Line 1: |
Line 1: |
| {{Admon/warning | F13 | Beat owner should begin placing Fedora 13 content in this beat. }} | | {{header|docs}} |
|
| |
|
| [[Features/ChangeInImplicitDSOLinking |Implicit DSO Linking ]]
| | {{Docs_beat_closed}} |
| Key points:
| |
| # ld will no longer automatically search in the dependencies of linked objects.
| |
| # If your project used both A and B, it will not compile unless A and B are both explicitly linked.
| |
| # There are more explanations on the Features page.
| |
|
| |
|
| Under the new changes, if your package fails ti build with a message like:
| | [[Category:Docs Project]] |
| | | [[Category:Draft documentation]] |
| /usr/bin/ld: gpx-parser.o: undefined reference to symbol 'acos@@GLIBC_2.0'
| | [[Category:Documentation beats]] |
| /usr/bin/ld: note: 'acos@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
| |
| | |
| Then you the line that builds the specified .o needs to explicitly link libm.
| |
| | |
| More examples are [[UnderstandingDSOLinkChange |here]]
| |
| | |
| | |
| <noinclude>[[Category:Release Notes]]<noinclude>
| |
| [[Category:Documentation_beats]] | |