You are not logged in.
Pages: 1
GCC 4.3 is giving me some grief.
Some things I've tried to build recently, the module I was able to compile without errors just a few weeks ago (with presumably an earlier GCC, before I updated)
A driver for my onboard Realtek 8168b Ethernet chipset:
Script started on Tue 15 Apr 2008 09:26:12 PM PDT
"[?1034h[root@albireo r8168-8.005.00]# make clean modules
make -C src/ clean
make[1]: Entering directory `/home/*********/r8168-8.005.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset
make[1]: Leaving directory `/home/*********/r8168-8.005.00/src'
make -C src/ modules
make[1]: Entering directory `/home/*********/r8168-8.005.00/src'
make -C /lib/modules/2.6.24-ARCH/build SUBDIRS=/home/*********/r8168-8.005.00/src modules
make[2]: Entering directory `/usr/src/linux-2.6.24-ARCH'
CC [M] /home/*********/r8168-8.005.00/src/r8168_n.o
/home/*********/r8168-8.005.00/src/r8168_n.c: In function "rtl8168_init_board":
/home/*********/r8168-8.005.00/src/r8168_n.c:2270: error: implicit declaration of function "SET_MODULE_OWNER"
/home/*********/r8168-8.005.00/src/r8168_n.c: In function "rtl8168_init_one":
/home/*********/r8168-8.005.00/src/r8168_n.c:2570: error: "struct net_device" has no member named "poll"
/home/*********/r8168-8.005.00/src/r8168_n.c:2571: error: "struct net_device" has no member named "weight"
/home/*********/r8168-8.005.00/src/r8168_n.c: In function "rtl8168_rx_interrupt":
/home/*********/r8168-8.005.00/src/r8168_n.c:3790: error: "struct net_device" has no member named "quota"
/home/*********/r8168-8.005.00/src/r8168_n.c:3790: warning: type defaults to "int" in declaration of "_y"
/home/*********/r8168-8.005.00/src/r8168_n.c:3790: error: "struct net_device" has no member named "quota"
/home/*********/r8168-8.005.00/src/r8168_n.c:3790: warning: comparison of distinct pointer types lacks a cast
/home/*********/r8168-8.005.00/src/r8168_n.c: In function "rtl8168_interrupt":
/home/*********/r8168-8.005.00/src/r8168_n.c:3986: error: too few arguments to function "netif_rx_schedule_prep"
/home/*********/r8168-8.005.00/src/r8168_n.c:3987: error: too few arguments to function "__netif_rx_schedule"
/home/*********/r8168-8.005.00/src/r8168_n.c: In function "rtl8168_poll":
/home/*********/r8168-8.005.00/src/r8168_n.c:4035: error: "struct net_device" has no member named "quota"
/home/*********/r8168-8.005.00/src/r8168_n.c:4035: warning: type defaults to "int" in declaration of "_y"
/home/*********/r8168-8.005.00/src/r8168_n.c:4035: error: "struct net_device" has no member named "quota"
/home/*********/r8168-8.005.00/src/r8168_n.c:4043: error: "struct net_device" has no member named "quota"
/home/*********/r8168-8.005.00/src/r8168_n.c:4046: error: too few arguments to function "netif_rx_complete"
make[3]: *** [/home/*********/r8168-8.005.00/src/r8168_n.o] Error 1
make[2]: *** [_module_/home/*********/r8168-8.005.00/src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.24-ARCH'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/*********/r8168-8.005.00/src'
make: *** [modules] Error 2
[root@albireo r8168-8.005.00]# exit
exit
Script done on Tue 15 Apr 2008 09:26:21 PM PDTWineHQ:
[root@albireo wine-0.9.59]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -m32
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.Last edited by deconstrained (2008-04-16 04:39:28)
Offline
You will need to find a patch for the driver source because that does not look like one of the simple errors created with gcc-4.3.
For wine, did that ever compile on x86_64?
Offline
Wine will not compile in Arch's non-multilib 64-bit - need a 32-bit chroot.
Last edited by brebs (2008-04-16 13:13:08)
Improve your desktop responsiveness and font rendering and ALSA sound and BusyBox init
Offline
Thanks for the heads up on wine being strictly 32-bit.
Where can I find such a patch for GCC that will allow me to properly compile the driver?
Offline
Pages: 1