Subject: framebuffer & cross compiling packages questions!
To: None <netbsd-users@netbsd.org>
From: Eric Auge <eau@phear.org>
List: netbsd-users
Date: 12/01/2006 16:29:40
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7330A92ECF5C653AEB48E106
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,

I'm running -current, got small questions :

- is it planned to have SMP (on centrino duo for example)
aware framebuffer, when i try to compile w/ necessary options it says
not being SMP aware (kvm86 iirc), what is necessary to do ? (I don't have=
 much
experience w/ kernel programming, especially dealing w/ things like
multiprocessing etc..)

- packages cross/i386-linux and cross/i386-mingw32 seems to be broken, th=
ey dont
build anymore, did I miss something w/ -current ? (may be the gcc update =
made
this doesnt compile anymore).

cross/i386-linux :
[...]
ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gette=
xt.o
finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o exploden=
ame.o
ranlib libintl.a
cc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./config
-I./../include -I./.. -I./../bfd -I./../intl -I../intl
-DLOCALEDIR=3D"\"/usr/pkg/cross/share/locale\""   -W -Wall -Wstrict-proto=
types
-Wmissing-prototypes  -c app.c
In file included from as.h:94,
                 from app.c:30:
=2E/../include/getopt.h:116: warning: function declaration isn't a protot=
ype
In file included from ./targ-cpu.h:1,
                 from ./config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from ./config/te-linux.h:4,
                 from targ-env.h:1,
                 from as.h:626,
                 from app.c:30:
=2E/config/tc-i386.h:451: error: array type has incomplete element type
gmake: *** [app.o] Error 1
*** Error code 2
[...]

cross/i386-mingw32 :
[...]
cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -o readelf reade=
lf.o
version.o unwind-ia64.o  ../libiberty/libiberty.a
cc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd
-I./../include -I./../intl -I../intl
-DLOCALEDIR=3D"\"/usr/pkg/cross/share/locale\""
-Dbin_dummy_emulation=3Dbin_vanilla_emulation   -W -Wall -Wstrict-prototy=
pes
-Wmissing-prototypes -O2 -c dllwrap.c
In file included from dllwrap.c:36:
=2E/../include/getopt.h:116: warning: function declaration isn't a protot=
ype
dllwrap.c:104: error: static declaration of 'program_name' follows non-st=
atic
declaration
bucomm.h:179: error: previous declaration of 'program_name' was here
dllwrap.c: In function 'main':
dllwrap.c:1046: warning: signed and unsigned type in conditional expressi=
on
gmake[3]: *** [dllwrap.o] Error 1
gmake[3]: Leaving directory
`/usr/pkgsrc/cross/i386-mingw32/work/binutils-2.15.90-20040222-1/binutils=
'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/pkgsrc/cross/i386-mingw32/work/binutils-2.15.90-20040222-1/binutils=
'
gmake[1]: *** [all-recursive-am] Error 2
gmake[1]: Leaving directory
`/usr/pkgsrc/cross/i386-mingw32/work/binutils-2.15.90-20040222-1/binutils=
'
gmake: *** [all-binutils] Error 2
*** Error code 2

[...]


may be there is some "one_line_change" trick or an option that I missed, =
just
asking before digging into it.

Regards,
Eric.


--------------enig7330A92ECF5C653AEB48E106
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFcEpnSdZNA80H8MYRAkIZAJsHJaLMoLK2eHhNI7j81TRVNQyzVwCePc2X
85y+G6YXuTc0b//Qj0EwXdM=
=Lz57
-----END PGP SIGNATURE-----

--------------enig7330A92ECF5C653AEB48E106--