Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] socket(PF_FILE, SOCK_STREAM, 0) not implemented
@ 2009-03-10  6:43 Karl Krach
  2009-03-10  6:59 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Karl Krach @ 2009-03-10  6:43 UTC (permalink / raw)
  To: buildroot

Will Newton <will.newton@gmail.com> schrieb:
> >
> > Hello,
> >
> > I have an arm handheld device with kernel 2.4.19 and am working
> > with qt 3.3, gcc version 2.95 and glibc.
> >
> > [...]
> >
> > brk(0x137f4) ? ? ? ? ? ? ? ? ? ?= 0x137f4
> > brk(0x14000) ? ? ? ? ? ? ? ? ? ?= 0x14000
> > socket(PF_FILE, SOCK_STREAM, 0) = -1 ENOSYS
> >                                  (Function not implemented)
> > stat64("/root/Settings/Trolltech.conf", 0xbffff2d8) = -1 ENOENT
> >
> > [...]
> >
> 
> It looks as if the kernel headers you built uClibc with do not match
> your kernel.
> 
Yes, of course - you re right. I'm using the kernel headers which are
downloaded and installed by buildroot (2.5.28.x). Provides the buildroot
configuration a way to used custom kernel headers? What do you think, is there
a chance to get it working with a 2.4 kernel?

Now I'm going to fix it manually (by replacing the kernel header files in
"toolchain_build_arm/linux") and will report how far I get.

Charly

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Buildroot] socket(PF_FILE, SOCK_STREAM, 0) not implemented
@ 2009-03-09 17:18 Karl Krach
  2009-03-09 17:36 ` Will Newton
  0 siblings, 1 reply; 4+ messages in thread
From: Karl Krach @ 2009-03-09 17:18 UTC (permalink / raw)
  To: buildroot


Hello,

I have a handheld device with kernel 2.4.19 and am working with qt 3.3, gcc
version 2.95 and glibc.

For evaluation purposes I try to get the latest Qt version (4.5.0) running. So
i need the uClibc 0.9.29 or greater and the gcc with at least version 4.0.1.

I have downloaded the latest buildroot sources from svn (gcc 4.3.3, uClibc
0.9.30), compiled qt and created a chroot on my board. I ve also mounted /proc
and /dev. But when using sockets (e.g. for qt's QWS), I get the error
"Function not implemented":

brk(0x137f4)                    = 0x137f4
brk(0x14000)                    = 0x14000
socket(PF_FILE, SOCK_STREAM, 0) = -1 ENOSYS (Function not implemented)
stat64("/root/Settings/Trolltech.conf", 0xbffff2d8) = -1 ENOENT

With my old environment (gcc 2.95 and glibc) the same test code is working
without problems.

When checking the uClibc code, I got stuck at a _syscall2. Do I have
incompatibilities between the uClibc and my kernel? Is my chroot not right
configured?

Thank a lot,

Charly

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-10  6:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-10  6:43 [Buildroot] socket(PF_FILE, SOCK_STREAM, 0) not implemented Karl Krach
2009-03-10  6:59 ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2009-03-09 17:18 Karl Krach
2009-03-09 17:36 ` Will Newton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox