Subject: Re: Console drivers
To: Michael Lorenz <macallan@netbsd.org>
From: Marco Trillo <marcotrillo@gmail.com>
List: port-macppc
Date: 11/10/2006 19:16:06
Hi,

On 11/8/06, Michael Lorenz <macallan@netbsd.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> so, finally the missing pieces to allow using accelerated display
> drivers as console on macppc are in place. Please try them and report
> success or failure.
>

I`m trying to build -current to test the new drivers, but when
attempting to make dependencies for "chipsfb.c", it fails out with
this error (some header files not found).

Sources are from yesterday night.

#    create  GENERIC/chipsfb.d
CC=/Volumes/data/netbsd/current/src/../macppc/tools/bin/powerpc--netbsd-gcc
/Volumes/data/netbsd/current/src/../macppc/tools/bin/nbmkdep -f
chipsfb.d --  -mno-strict-align -msoft-float  -Wa,-maltivec
-ffreestanding -fno-zero-initialized-in-bss   -O2 -Wreturn-type
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wno-sign-compare -Wno-pointer-sign -Wno-attributes
-fno-strict-aliasing     -Dmacppc=macppc -I.
-I/Volumes/data/netbsd/current/src/sys/contrib/dev/ath/netbsd
-I/Volumes/data/netbsd/current/src/sys/../common/include
-I/Volumes/data/netbsd/current/src/sys/arch
-I/Volumes/data/netbsd/current/src/sys -nostdinc -DLKM
-DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/Volumes/data/netbsd/current/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/Volumes/data/netbsd/current/src/sys/lib/libkern/../../../common/lib/libc/string
-I/Volumes/data/netbsd/current/src/sys/lib/libkern/../../../common/lib/libc/arch/powerpc/string
 -I/Volumes/data/netbsd/current/src/sys/dist/ipf
/Volumes/data/netbsd/current/src/sys/dev/pci/chipsfb.c
/Volumes/data/netbsd/current/src/sys/dev/pci/chipsfb.c:74:29: error:
dev/i2c/edidvar.h: No such file or directory
/Volumes/data/netbsd/current/src/sys/dev/pci/chipsfb.c:77:21: error:
opt_ofb.h: No such file or directory
nbmkdep: compile failed.

*** Failed target:  chipsfb.d
*** Failed command:
CC=/Volumes/data/netbsd/current/src/../macppc/tools/bin/powerpc--netbsd-gcc
/Volumes/data/netbsd/current/src/../macppc/tools/bin/nbmkdep -f
chipsfb.d -- -mno-strict-align -msoft-float -Wa,-maltivec
-ffreestanding -fno-zero-initialized-in-bss -O2 -Wreturn-type -Werror
-Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wno-sign-compare -Wno-pointer-sign -Wno-attributes
-fno-strict-aliasing -Dmacppc=macppc -I.
-I/Volumes/data/netbsd/current/src/sys/contrib/dev/ath/netbsd
-I/Volumes/data/netbsd/current/src/sys/../common/include
-I/Volumes/data/netbsd/current/src/sys/arch
-I/Volumes/data/netbsd/current/src/sys -nostdinc -DLKM
-DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/Volumes/data/netbsd/current/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/Volumes/data/netbsd/current/src/sys/lib/libkern/../../../common/lib/libc/string
-I/Volumes/data/netbsd/current/src/sys/lib/libkern/../../../common/lib/libc/arch/powerpc/string
-I/Volumes/data/netbsd/current/src/sys/dist/ipf
/Volumes/data/netbsd/current/src/sys/dev/pci/chipsfb.c
*** Error code 1

Stop.
nbmake: stopped in
/Volumes/data/netbsd/current/macppc/obj/sys/arch/macppc/compile/GENERIC

*** Failed target:  kern-GENERIC
*** Failed command: cd
/Volumes/data/netbsd/current/src/../macppc/obj/sys/arch/macppc/compile/GENERIC
&& /Volumes/data/netbsd/current/src/../macppc/tools/bin/nbmake depend
&& /Volumes/data/netbsd/current/src/../macppc/tools/bin/nbmake
*** Error code 1

Stop.
nbmake: stopped in /Volumes/data/netbsd/current/src/etc

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this=""; real="/Volumes/data/netbsd/current/src" ;; *) this="${dir}/";
real="/Volumes/data/netbsd/current/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /Volumes/data/netbsd/current/src/../macppc/tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget etc release
DISTRIBUTION_DONE=1
*** Error code 1

Stop.
nbmake: stopped in /Volumes/data/netbsd/current/src

ERROR: Failed to make release
*** BUILD ABORTED ***


-- 
     Thanks,
     Marco