Colin Burgess(deleted)
|
Re: running QNX with "qemu-minimal.build" problem
|
Colin Burgess(deleted)
01/30/2009 11:45 AM
post21101
|
Re: running QNX with "qemu-minimal.build" problem
Hi Pietro,
Ok, it sounds like you are using 6.4.0
In that case, you change your qemu-minimal.build to use libc.so.3
Change the libc.so.2 back to libc.so (or libc.so.3)
if you are going to run any 6.3.2 binaries then also add libc.so.2 (it's fairly small)
You should then change the /usr/lib/ldqnx.so.2 link to point to libc.so.3
io-net is no longer shipped with 6.4.0 - now it's io-pkt, and npm-tcpip.so is included directly
in that binary. You should probably check to see if the driver has been updated to the devnp-*.so version.
WRT mkifs not getting the components from your build, mkxfs will normally look in $QNX_TARGET, which is the
momentics install. You should try adding -r <yourbuilddir> as an option to mkifs
Regards,
Colin
Pietro Descombes wrote:
> Hi Colin,
>
> thanks for replying!
> So,
>
> 1) yes! the ./trunk/utils/t/tcpdump/win32/Include/errno.h file reveals the natures of errors
> #define ELIBEXEC 83 /* Cannot exec a shared library directly */
> #define ENOENT 2 /* No such file or directory */
> This shows not surprisingly components are missing from the image (2) and not executed (83).
> (no ESHLIBACC in this file)
>
>
> 2) versions: You're write to point out that I might be confused: I've got Momentics 6.4.0 (qnxsdp-6.4.0-x86-
200810211530-linux.bin) which installed itself in '/opt/qnx640'.
> Regarding the QNX source, as I downloaded it a few days ago with svn, and updated it just before sending my post, so I
have the latest build (or almost if changed since then). That's why I THINK I have source 6.4.0.
> The only thing I changed in the version number in the 'qemu-minimal.build' welcome message.
> There are many files named 'version*' but they don't help much.
>
>
> 3) libc.so
> I think that's the trick! I do have several files called that way in $QNX_TARGET (but none in the source):
> /opt/qnx640/target/qnx6/x86/lib/libc.so.3
> /opt/qnx640/target/qnx6/x86/lib/libc.so.1
> /opt/qnx640/target/qnx6/x86/lib/libc.so
> /opt/qnx640/target/qnx6/x86/lib/libc.so.2
>
> In 'qemu-minimal.build' replacing, the line "libc.so" by "libc.so.2" avoids all the (83) errors :-)) . "Mounting
Filesystems" and "Starting esh" don't show error messages anymore, but I still can't type anything in the (esh) console.
>
> I've tried several other unsuccessful tweaks in 'qemu-minimal.build'. and other ".build" files found in 'opt/target/
qnx6/x86/boot/build/': different behaviour, still nothing usable.
>
>
> 4) I still wonder what why I get those:
> << Warning: Host file 'npm-tcpip.so' missing.
> Warning: Host file 'io-net' missing. >>
> which I can't find anywhere. I can disable them by removing the components in 'qemu-minimal.build', but that message
shows that there is a problem somewhere.
>
> And why are there so many missing files in '/dev/' (see qemu's running outputs), files not included properly?
>
>
> I have a sneaking suspicion that the compilation isn't doing all it's job. All the elements stated in 'qemu-minimal.
build' come from Momentics rather than 'stage' or 'trunk'. Even 'procnto' doesn't come from my compilation. How come?
>
>
> Yes, that's a long post... I hope you have the patience to read that.
> You did help me already, but things still don't work on.
>
> Pietro
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post21096
>
--
cburgess@qnx.com
|
|
|