Subject: Re: Trouble compiling -current
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
List: port-hpcsh
Date: 05/18/2003 19:48:55
Valeriy E. Ushakov wrote:
> On Sun, May 18, 2003 at 15:28:12 +0200, Torsten Harenberg wrote:
>
>
> >As we're debugging: compiling the kernel for hpcsh results (at least
> >with my version of the src) in this:
> >
> >cc -x assembler-with-cpp -traditional-cpp -D_LOCORE -Dhpcsh -I.
>
> ^^^^^^
>
> You are using host make/toolchain instead of nbmake-hpcsh ;)
Uppss.. sorry. You're right. Mixed it up with Linux. Too many computers
at the same time ;)
But this one here is real
/usr/src/tools/obj/tools.NetBSD-1.6S-i386/bin/shle--netbsdelf-gcc
-ffreestanding -O1 -Wno-parentheses -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized -Dhpcsh -I.
-I../../../../arch -I../../../.. -nostdinc -DDIAGNOSTIC -DDEBUG
-DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../dev/hpc/hpckbd.c
In file included from ../../../../dev/hpc/hpckbd.c:68:
../../../../dev/hpc/hpckbdkeymap.h:818:
`platid_mask_MACH_HP_JORNADA_680EU' undeclared here (not in a function)
../../../../dev/hpc/hpckbdkeymap.h:818: initializer element is not constant
../../../../dev/hpc/hpckbdkeymap.h:818: (near initialization for
`hpckbd_keymap_table[4].ht_platform')
../../../../dev/hpc/hpckbdkeymap.h:823:
`platid_mask_MACH_HP_JORNADA_690EU' undeclared here (not in a function)
../../../../dev/hpc/hpckbdkeymap.h:823: initializer element is not constant
../../../../dev/hpc/hpckbdkeymap.h:823: (near initialization for
`hpckbd_keymap_table[5].ht_platform')
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/arch/hpcsh/compile/jornada
Uwe: any ideas on that?
Cheers,
Torsten
--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<> <>
<> Torsten Harenberg harenberg@physik.uni-wuppertal.de <>
<> FB Physik <>
<> Bergische Universitaet Tel.: (0202) 439-2740 <>
<> Gaussstr. 20 Fax : (0202) 439-2811 <>
<> D-42097 Wuppertal <>
<> <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>