Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: cannot compile 2.4.27-vrs1 under cross-2.95.3/Redhat9??
PostPosted: Fri Jan 07, 2005 8:11 am 
Offline

Joined: Tue Dec 28, 2004 5:50 pm
Posts: 11
make[3]: Entering directory `/root/linux-2.4.27-vrs1-ATMEL/drivers/video'
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/linux-2.4.27-vrs1-ATMEL/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -mshort-load-bytes -msoft-float -Uarm -nostdinc -iwithprefix
include -DKBUILD_BASENAME=vgacon -c -o vgacon.o vgacon.c
vgacon.c: In function `write_vga':
vgacon.c:156: warning: cast to pointer from integer of different size
vgacon.c:157: warning: cast to pointer from integer of different size
vgacon.c: In function `vgacon_startup':
vgacon.c:283: `PCIMEM_BASE' undeclared (first use in this function)
vgacon.c:283: (Each undeclared identifier is reported only once
vgacon.c:283: for each function it appears in.)
vgacon.c: In function `vgacon_set_cursor_size':



Somebody have the same problem and how to resolved it?some idea?
Regards
vgacon.c:414: warning: cast to pointer from integer of different size
vgacon.c:415: warning: cast to pointer from integer of different size
vgacon.c:424: warning: cast to pointer from integer of different size
vgacon.c:425: warning: cast to pointer from integer of different size
vgacon.c: In function `vga_vesa_blank':
vgacon.c:533: warning: cast to pointer from integer of different size
vgacon.c:537: warning: cast to pointer from integer of different size
vgacon.c:595: warning: cast to pointer from integer of different size
vgacon.c: In function `vga_vesa_unblank':
vgacon.c:605: warning: cast to pointer from integer of different size
vgacon.c:606: warning: cast to pointer from integer of different size
vgacon.c:620: warning: cast to pointer from integer of different size
vgacon.c:626: warning: cast to pointer from integer of different size
vgacon.c: In function `vgacon_do_font_op':
vgacon.c:710: `PCIMEM_BASE' undeclared (first use in this function)
vgacon.c:823: warning: cast to pointer from integer of different size
vgacon.c:828: warning: cast to pointer from integer of different size
vgacon.c:704: warning: `charmap' might be used uninitialized in this function
vgacon.c: In function `vgacon_adjust_height':
vgacon.c:863: warning: cast to pointer from integer of different size
vgacon.c:864: warning: cast to pointer from integer of different size
vgacon.c:865: warning: cast to pointer from integer of different size
vgacon.c:866: warning: cast to pointer from integer of different size
vgacon.c:876: warning: cast to pointer from integer of different size
vgacon.c:877: warning: cast to pointer from integer of different size
vgacon.c:878: warning: cast to pointer from integer of different size
vgacon.c:879: warning: cast to pointer from integer of different size
vgacon.c:880: warning: cast to pointer from integer of different size
vgacon.c:881: warning: cast to pointer from integer of different size
make[3]: *** [vgacon.o] Error 1
make[3]: Leaving directory `/root/linux-2.4.27-vrs1-ATMEL/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/root/linux-2.4.27-vrs1-ATMEL/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/root/linux-2.4.27-vrs1-ATMEL/drivers'
make: *** [_dir_drivers] Error 2


Top
 Profile  
 
 Post subject: device number question
PostPosted: Sun Jan 09, 2005 4:29 pm 
Offline

Joined: Tue Dec 28, 2004 5:50 pm
Posts: 11
reply myself,unset the VGA console driver will compile ok.

another question:

how to get the major number of a device driver ?
so can use this number to mknod for ramdisk if ramdisk have not include this device,Thanks!

and sombody have some idea about the number of device dynamic detected?

HAPPY NEW YEAR!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: