[Skyeye-developer] Skyeye Compile Error on a Mac
Arnab Som
arnabsom at gmail.com
Wed Apr 4 09:28:19 CST 2007
Hi,
I have compiled the linux-2.6.20.4 with the kb9202_defconfig and my
skyeye.conf looks like
------------------------------
-----------------------------------------------------------------------
#skyeye config file sample
cpu: arm7tdmi
mach: at91
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000, size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000, size=0x00400000
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00400000,file=./vmlinux
mem_bank: map=I, type=RW, addr=0xf0000000, size=0x10000000
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00100000
#lcd: type=ep7312,mod=gtk
#dbct: state=on
#dbct: state=off
----------------------------------------------------------------------------------------------------
But when i run it as follows i get a hung up situation like below
Any guesses
[arnabsom at localhost boot]$ skyeye -c skyeye.conf -e vmlinux
arch: arm
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8057490
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm7100 mmu ops
Loaded RAM ./vmlinux
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000 size = 0x00019000.
load section .text: addr = 0xc0021000 size = 0x0021dc78.
not load section .rodata: addr = 0xc023f000 size = 0x00000000 .
not load section .pci_fixup: addr = 0xc023f000 size = 0x00000000 .
not load section .rio_route: addr = 0xc023f000 size = 0x00000000 .
load section __ksymtab: addr = 0xc023f000 size = 0x00003f70.
load section __ksymtab_gpl: addr = 0xc0242f70 size = 0x00000d50.
not load section __ksymtab_unused: addr = 0xc0243cc0 size = 0x00000000 .
not load section __ksymtab_unused_gpl: addr = 0xc0243cc0 size = 0x00000000
.
load section __ksymtab_gpl_future: addr = 0xc0243cc0 size = 0x00000018.
not load section __kcrctab: addr = 0xc0243cd8 size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc0243cd8 size = 0x00000000 .
not load section __kcrctab_unused: addr = 0xc0243cd8 size = 0x00000000 .
not load section __kcrctab_unused_gpl: addr = 0xc0243cd8 size = 0x00000000
.
not load section __kcrctab_gpl_future: addr = 0xc0243cd8 size = 0x00000000
.
load section __ksymtab_strings: addr = 0xc0243cd8 size = 0x0000aeb8.
load section __param: addr = 0xc024eb90 size = 0x00000370.
load section .data: addr = 0xc0250000 size = 0x0001d43c.
not load section .bss: addr = 0xc026d440 size = 0x00015854 .
not load section .comment: addr = 0x00000000 size = 0x000024fc .
start addr is set to 0xc0008000 by exec file.
On 4/4/07, Matt Gresham <gresh28 at gmail.com> wrote:
>
> Opps my bad. Thought the NO_DBCT=1 NO_BFD=1 NO_NET=1 NO_LCD=1
> parameters were turned on by default on mac since they don't work. All
> is working now with the patch.
>
> Thanks, Matt
>
>
> On 4/2/07, Yang Jian <flyinwindy at gmail.com> wrote:
> > the skyeye_net_tuntap.c requires the structure ifreq .
> > this structure located in libc header file /usr/include/net/if.h.
> > it looks like you don't have /usr/include/net/if.h file installed
> correctly.
> >
> > On 4/2/07, Matt Gresham <gresh28 at gmail.com> wrote:
> > >
> > > Hi,
> > >
> > > I'm having some problems compiling the source code for Skyeye on a
> mac. I
> > > tried 1.2.2 and 1.2.1 and each gives a compile error.
> > > If it helps , my version of gcc is: powerpc-apple-darwin8-gcc-4.0.0 ,
> > > my version of Mac OS is: Mac OS X 10.4.9
> > > and the error that I get is:
> > >
> > > device/net/skyeye_net_tuntap.c: In function 'tuntap_open':
> > > device/net/skyeye_net_tuntap.c:59: error: storage size of 'ifr' isn't
> > > known
> > > make: *** [binary/skyeye_net_tuntap.o] Error 1
> > >
> > > Any help would be greatly appreciated. Also if the whole output from
> the
> > > compilation processes would help I can attach that if needed.
> > >
> > > Thanks, Matt
> > >
> > >
> > > _______________________________________________
> > > Skyeye-developer mailing list
> > > Skyeye-developer at lists.gro.clinux.org
> > > http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> > >
> > >
> >
> >
> > --
> > Best Regards
> >
> > Yang.Jian
> > flyinwindy at gmail.com
> >
>
> _______________________________________________
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20070404/c5cf0000/attachment.htm
More information about the Skyeye-developer
mailing list