Port-sparc64 archive

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

Re: Brooktree 848 support



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Apr 22, 2010, at 8:02 PM, Stephen Eastman wrote:

After borrowing the config line from the i386 port, I got the following erro when trying to build the new kernel:
                        #   compile  bt_stephen_test/bktr_os.o
cc -mcmodel=medlow -mno-fpu -ffreestanding -fno-zero-initialized-in- bss -O2 -std=gnu99 -fno-strict-aliasing -Werror -Wall -Wno-main -Wno- format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict- prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno- unreachable-code -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -Werror -Dsparc64 -D__sparc64__ - D_LP64 -Wa,-Av9a -I. -I../../../../contrib/dev/ath/netbsd - I../../../../../common/include -I../../../../arch -I../../../.. - nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I../../../../ lib/libkern/../../../common/lib/libc/quad -I../../../../lib/ libkern/../../../common/lib/libc/string -I../../../../lib/ libkern/../../../common/lib/libc/arch/sparc64/string -I../../../../ dist/ipf -c ../../../../dev/pci/bktr/bktr_os.c
../../../../dev/pci/bktr/bktr_os.c: In function 'bktr_attach':
../../../../dev/pci/bktr/bktr_os.c:1474: error: aggregate value used where an integer was expected
*** Error code 1

I don't suppose anyone knows how to fix this?

Look at the source ;)
In -current it's a dodgy debug printf() style macro, just comment it out.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBS9DrRMpnzkX8Yg2nAQIdBQgAj0LxbHp+83pgjGUqOuTKWrmVBJ/mEUSf
K7wwpRx5pkushBN5fZxBcGLHc8nnpprUY1eu2HqeqTWu8lSZD6p5m5PNuZJPFUHN
B2wfpklDgYA17YBG7zBLBOSwPPOFmBX5LrCz2sTp9C1lscfvNnVZki1IHEOFIBpC
L58RHi39rMUZRDpoW4qcFidoomIWULWqSp+0Fa1Cl9EV2g1bjJVnREdVFrPHUX3I
6Pinksk2up1BSAdpJnXn7q36oXak/qLjW7aR1s4cw66o4/nNDzv8KZCGs3djecYl
h86+wXV4c/ZkZ3jWZRa4W2jyPHwZpVZz6hqsNAFEBnNWKW8740Rgjw==
=3XZR
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index