J P(deleted)
|
Re: missing function getopt_long() in libc
|
J P(deleted)
07/08/2014 6:47 PM
post110985
|
Re: missing function getopt_long() in libc
> On 14-07-08 08:51 AM, J P wrote:
> > Hi,
> >
> > I have compiled coreutils-8.13 for QNX6.6.0 on OMAP4430_ES2.
> 2_HS_Winchester_Rev:07 armle. But the resulting binaries have this error:
> >
> > ldd:FATAL: Unresolved symbol "getopt_long" called from Executable
> >
> > So I end up here. I have described my efforts in part here http://unix.
> stackexchange.com/q/141262/44370. I see this http://qdn.qnx.com/support/
> knowledgebase.html?id=50130000000maSD All I see are binaries for i386. Isn't
> there something like a libgetopt.so for arm or is that even related?
>
> Sorry, I should have read your overflow question first. You're trying to
> run it on a playbook, with has an earlier version of the 6.6 proc, but
> it's not the QNX 6.6.0 release so it won't have the getopt_long in libc.
> GNU coreutils is likely configuring with getopt_long because it's there
> in BB10.3. Probably if you build it with the PB toolchain, then it
> configure will find it's not there, and supply a replacement.
>
> Regards,
>
> Ryan Mansfield
>
Thank you for taking the time to explain. No I apologize for not making this clearer. The source link I used referred to
installing the 2.1.0 Native SDK - that source was written 2 years ago. The link now leads to the Momentics IDE 2.1...
with BB10.3SDK. Obviously it didn't link to that when it was written, it linked to this: https://developer.blackberry.
com/playbook/native/download/ .But the SDK contains the following release notes:
This release of the BlackBerry Native SDK for Tablet OS can support apps targeted to run on BlackBerry PlayBook OS 2.1.
1314, 2.1.0.1088, and 2.1.0.1032.
There is no mention of 2.1.0.1917 which is the last (most likely ever) release from a few months ago. I hope this is not
an issue. Nevertheless I have downloaded it and will try again when I get that set up. I had other targets including
gcc which built under the setup I had. Maybe it was a version which didn't leverage getopt_long. I'm just an enthusiast.
Thank you again!
|
|
|