Created attachment 128832 [details] suceful native build Hi. I'm trying to find why this happens. I can successfull compile when native, but get link issues when doing cross. In the meanwhile, i have made a patch that works fine. Note that i do not have a well cmake knowledge so it can be a little dirty. Thanks.
Created attachment 128833 [details] failed cross build
Created attachment 128834 [details] [review] A try to fix the link issues.
Sorry but this doesn't feel right, poppler is already linking to ${NSS3_LDFLAGS} and all those other tools don't use nss directly, only through poppler so linking nss3 to them directly doesn't seem like correct to me.
Okay. I think i understand. So, i should try to link libpoppler.so to nss3 instead?. I will try it and go back to here. In the meanwhile, ¿why cross build could be failing? Thanks.
> So, i should try to link libpoppler.so to nss3 instead?. We already do that, don't we?
(In reply to Albert Astals Cid from comment #5) > > So, i should try to link libpoppler.so to nss3 instead?. > > We already do that, don't we? I'm not sure since ld show undefined references.
Well reading the code says we do, but patches that fix it welcome :)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/622.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.