|
From: Robert F. <rob...@pa...> - 2002-01-11 19:14:19
|
The module radeon_fb.c that is in linux-2.4.18-pre3 fails to compile due to missing definitions for TMDS_TRANSMITTER_CNTL and others. The error message is below. The problem developed somewhere between 2.4.17 and 2.4.18-pre2. One possible cause would be a patch entered for radeon_fb.c without the corresponding patch for radeon.h -bob rob...@pa... Compile error message (Redhat 7.2): gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-pre3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.18-pre3/include/linux/modversions.h -DKBUILD_BASENAME=radeonfb -c -o radeonfb.o radeonfb.c radeonfb.c: In function `radeon_save_state': radeonfb.c:2283: `TMDS_TRANSMITTER_CNTL' undeclared (first use in this function)radeonfb.c:2283: (Each undeclared identifier is reported only once radeonfb.c:2283: for each function it appears in.) radeonfb.c: In function `radeon_load_video_mode': radeonfb.c:2560: `TMDS_RAN_PAT_RST' undeclared (first use in this function) radeonfb.c:2561: `ICHCSEL' undeclared (first use in this function) radeonfb.c:2561: `TMDS_PLLRST' undeclared (first use in this function) radeonfb.c: In function `radeon_write_mode': radeonfb.c:2650: `TMDS_TRANSMITTER_CNTL' undeclared (first use in this function)radeonfb.c:2655: `LVDS_STATE_MASK' undeclared (first use in this function) radeonfb.c: At top level: radeonfb.c:2957: warning: `fbcon_radeon8' defined but not used |