-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect order of LIBS #33
Milestone
Comments
Probably caused by the pkg_queue_compile stuff. I'll get it done for pkgconf 0.8.6. |
I am not able to reproduce this locally, can you provide --digraph output for the problem "libavformat >= 52.111 libavcodec >= 52.123 libavutil"? |
I test case to reproduce the issue (I ran this on Debian Sid):
Stock
|
kaniini
added a commit
that referenced
this issue
Aug 8, 2012
kaniini
added a commit
that referenced
this issue
Aug 8, 2012
This bug causes occasional problems when calculating inter-module dependencies in complex dependency graphs, such as ffmpeg when cross-compiled. Reported-by: Alexander Kojevnikov <alexander@kojevnikov.com> Closes: Issue #33
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using MXE to cross-compile (and statically link to) FFmpeg and other libraries. On FreeBSD (which recently switched to
pkgconf
) the order ofLIBS
flags is incorrect which leads to numerousundefined reference to ...
errors during linking. On Debian Sid (which usespkg-config
) the order is correct and linking works.Relevant
configure.ac
snippet:LIBS
withpkgconf
, snippet fromconfig.log
:LIBS
withpkg-config
, snippet fromconfig.log
:The correct dependency order is
avformat → avcodec → avutil
, withpkgconf
it's reversed.Please let me know if you need additional info.
The text was updated successfully, but these errors were encountered: