[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb-4.17 compilation under Linux 6.0(RedHat 6.0)



I recall RH 6.0 having glibc 2 which has a different 
setup for the System V IPC.  Could someone pass on a hint please?


> msgong wrote:
> 
> Hi!
> I'm afraid this is another of those "here's an error message, what's wrong?"
> message.
> I'm trying to build a ./bit_gdb powerpc under RedHat 6.0 on Pentium machine.
> Of course, I was apply successfully the gdb 4.17 patch that came with RTEMS
> 4.0.0.
> 
> o HOST : i586/RedHat 6.0, using textinfo package from RedHat 5.2
> o Target : powerpc
> o Sources used : Original RTEMS source
> 
> ====== Start error messages ======
> gcc -c O2 -g   -DDEFAULT_INLINE=INLINE_LOCALS
>                         -DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SMP=5
>                         -DWITH_TIME_BASE=1  -DHAVE_TERMIOS_STRUCTURE
>                         -DHAVE_TERMIOS_CLINE  -DHAVE_DEVZERO
>                         -l.  -l../../../gdb-4.17/sim/ppc
> -l../../../gdb-4.17/sim/ppc/../../include
>                         -l../../bfd  -l../../../gdb-4.17/sim/ppc/../../bfd
> -l../../gdb
>                         -l../../../gdb-4.17/sim/ppc/../../gdb
>                         -l../../../gdb-4.17/sim/ppc/../../gdb/config
>                         -l../../../gdb-4.17/sim/ppc/../../mmalloc
>                           ../../../gdb-4.17/sim/ppc/../../hw_sem.c
>                           ../../../gdb-4.17/sim/ppc/../../hw_sem.c : In
> function 'hw_sem_init_data':
> 
> ../../../gdb-4.17/sim/ppc/../../hw_sem.c:107:storage size of 'help' isn't
> known
>                           ../../../gdb-4.17/sim/ppc/../../hw_sem.c:In
> function 'hw_sem_io_read_buffer':
> 
> ../../../gdb-4.17/sim/ppc/../../hw_sem.c:190:storage size of 'help' isn't
> known
> gmake[2]:***[hw_sem.o] Error 1
> gmake[2]:Leaving directory
> '/home/smchung/tools/build-powerpc-gdb/sim/ppc'
> gmake[1]:***[all] Error 2
> gmake[1]:Leaving directory '/home/smchung/tools/build-powerpc-gdb/sim'
> gmake: *** [all-sim] Error 2
> ERROR:**** FAILED **** build
> 
> ====== End error messages ======
> 
> mail address : msgong at sunam.kreonet.re.kr
> 

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985