- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everybody!!
At the beginning I must admit that I am a beginner so please prepare for some dumb questions :) I followed all the wiki tutorials concerning uClinux on DE2 board with Nios 2, I've built toolchain, compiled default kernel, downloaded it on device and everything looked fine (I am using .sof and .ptf also from nioswiki). But the problem is when I want to do something more than just default kernel configuration e.g. when I try to add lcd 16207 driver from the menuconfig, I have errors while building lcd_16207.o :
drivers/char/lcd_16207.c: In function `cleanup_module':
drivers/char/lcd_16207.c:362: error: void value not ignored as it ought to be
when I try to add drivers for pio buttons I also have crash:
drivers/char/altera_pio_button.o
/media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:20:35: linux/devfs_fs_kernel.h: No such file or directory
/media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:87: warning: initialization from incompatible pointer type
/media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c: In function `button_start':
/media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:113: error: `SA_INTERRUPT' undeclared (first use in this function)
/media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:113: error: (Each undeclared identifier is reported only once
/media/disk/nios2-linux/linux-2.6/drivers/char/altera_pio_button.c:113: error: for each function it appears in.)
I don't know if these are errors in .c files or I am doing something wrong... I am afraid to crash somenthing by myself so I did not edit any of these files manually. Thx for any help!
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,ronix5000:
did you have resloved your problem?I have met it too,and don't know how to do it? Please tell me how if you have finish it?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, same problem for me LCD_16207.h doesn't exist in linux2.6/driver/char
dose somebody know where comes from the problem ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i use file lcd_1607.c & lcd_16207.h downloaded from this link
http://www.ccm.ece.vt.edu/twiki/bin/view/main/linuxonnios2installation make, download and boot succesful
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page