[Skyeye-developer] MacOS X PPC 10.4.10 tiger support?

Michael.Kang blackfin.kang at gmail.com
Fri Nov 9 15:14:26 CST 2007


I guess there is some defination conflict related to endian issues in
your machine.Could you post your /usr/the file of
include/libkern/ppc/OSByteOrder.h here?

-- Thanks
-- MK

On 11/9/07, Datu <daturaster at googlemail.com> wrote:
> Hi Marc and Lee,
>
> I tried compile skyeye latest trunk (with your two mac patches) in my Mac
> osx ppc machine. I got the following errors:
>
> gcc -c device/skyeye_device.c -o binary/skyeye_device.o -g -O2
> -D_FILE_OFFSET_BI
> TS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DMODET  -DHOST_IS_BIG_ENDIAN -DMODET
> -I a
> rch/arm -I arch/arm/common -I arch/arm/common/mmu -I arch/arm/mach -I
> arch/bfin/
> common -I arch/bfin/mach -I arch/coldfire/common -I arch/ppc/common -I
> device -I
>  device/net -I device/lcd -I device/flash -I device/uart -I device/nandflash
> -I
> utils -I utils/share -I utils/main -I utils/config -I utils/debugger  -DARM
> -I.
>  -DNO_DBCT -DNO_BFD -DNO_LCD
> In file included from
> /usr/include/libkern/OSByteOrder.h:52,
>                  from /usr/include/sys/_endian.h:89,
>                  from /usr/include/ppc/endian.h:107,
>                  from /usr/include/machine/endian.h:30,
>                  from /usr/include/sys/wait.h:182,
>                  from /usr/include/stdlib.h:64,
>                  from arch/arm/common/armdefs.h:22,
>                  from utils/config/skyeye_config.h:33,
>                  from device/skyeye_device.c:28:
> /usr/include/libkern/ppc/OSByteOrder.h: In function
> 'OSReadSwapInt64':
> /usr/include/libkern/ppc/OSByteOrder.h:81: error: two or
> more data types in declaration specifiers
> /usr/include/libkern/ppc/OSByteOrder.h:81: error: two or
> more data types in declaration specifiers
> /usr/include/libkern/ppc/OSByteOrder.h:81: error: two or
> more data types in declaration specifiers
> /usr/include/libkern/ppc/OSByteOrder.h:82: error: two or
> more data types in declaration specifiers
> /usr/include/libkern/ppc/OSByteOrder.h:82: error: two or
> more data types in declaration specifiers
> /usr/include/libkern/ppc/OSByteOrder.h:82: error: parse
> error before '[' token
> /usr/include/libkern/ppc/OSByteOrder.h: At top level:
> /usr/include/libkern/ppc/OSByteOrder.h:87: error: parse
> error before ':' token
> make: *** [binary/skyeye_device.o] Error 1
>
> Does your patches only support MacOSX x86 version?
>
> Skyeye was once compiled under macos x ppc before, I searched web:
> http://lists.gro.clinux.org/pipermail/skyeye-developer/2007-April/001210.html
>
> but why it doesn't support now? anyone can help to fix it.
>
> Many thanks
>
> datu
>
>
>
> On 08/11/2007, Anthony Lee < don.anthony.lee at gmail.com> wrote:
> > Hi Marc,
> >
> > Though DBCT module of SkyEye could compiled on Mac OSX.
> > but I catch an error below shown some problem that I didn't solve yet,
> > I'll try to find out what's the problem once I'm free. :)
> >
> > ------------- GDB output -------------
> > Program received signal EXC_BAD_ACCESS, Could not access memory.
> > Reason: KERN_PROTECTION_FAILURE at address: 0x0003e30a
> > 0x0003df37 in handle_v6_insn (state=0x0, instr=0) at
> > arch/arm/common/armemu.c:5771
> > (gdb) bt
> > #0  0x0003df37 in handle_v6_insn (state=0x0, instr=0) at
> > arch/arm/common/armemu.c:5771
> > #1  0x00000000 in ?? ()
> > Cannot access memory at address 0x3
> > Previous frame inner to this frame (corrupt stack?)
> > --------------------------------------------
> >
> > Then SkyEye quited and throw out a message "Bus error" !!!
> >
> >
> > On Nov 8, 2007 2:43 PM, Marc Hoffman <mmhoffm at gmail.com> wrote:
> > > Does this make sense to add to the makefile so you can just type make?
> > >
> > > _______________________________________________
> > > CLinux.org Websites:
> > > http://seohelper.cn/
> > > http://www.implight.net/
> > > http://gro.clinux.org/
> > > Skyeye-developer mailing list
> > > Skyeye-developer at lists.gro.clinux.org
> > >
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> > >
> > >
> >
> > _______________________________________________
> > CLinux.org Websites:
> > http://seohelper.cn/
> > http://www.implight.net/
> > http://gro.clinux.org/
> > Skyeye-developer mailing list
> > Skyeye-developer at lists.gro.clinux.org
> >
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> >
>
>
> _______________________________________________
> CLinux.org Websites:
> http://seohelper.cn/
> http://www.implight.net/
> http://gro.clinux.org/
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>
>


-- 
www.skyeye.org



More information about the Skyeye-developer mailing list