- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all, I try to put in operation the CompactFlash in my development kit, but during the compilation of uClinux source I have this errors :
...............................................................................
CC fs/splice.o
LD sound/built-in.o
CC kernel/srcu.o
CC drivers/ata/libata-core.o
CC kernel/semaphore.o
CC fs/sync.o
/home/campo/Quartus_Project/nios2-linux_prova/linux-2.6/drivers/ata/libata-core.c: In function `ata_wait_register':
/home/campo/Quartus_Project/nios2-linux_prova/linux-2.6/drivers/ata/libata-core.c:6155: error: implicit declaration of function `ioread32'
make: *** Error 1
make: *** Error 2
make: *** Error 2
make: *** Waiting for unfinished jobs....
CC fs/utimes.o
CC kernel/notifier.o
CC fs/stack.o
CC fs/buffer.o
CC fs/bio.o
...............................................................................
make: *** Error 2
make: Leaving directory `/home/campo/Quartus_Project/nios2-linux_prova/linux-2.6'
make: *** Error 1
I follow this (http://www.nioswiki.com/operatingsystems/uclinux/compactflash) . Has someone resolved this problem ? Sorry for my bad english and thanks in advice.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have exactly the same error, did you manage to fix this problem? Should update the library libata? (Kernel : 2.6.23-uc) Thanks,- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Here is the error message when compiling : CC drivers/ata/libata-core.o drivers/ata/libata-core.c: In function `ata_devchk': drivers/ata/libata-core.c:640: error: implicit declaration of function `iowrite8' drivers/ata/libata-core.c:649: error: implicit declaration of function `ioread8' drivers/ata/libata-core.c: In function `ata_sg_setup_one': drivers/ata/libata-core.c:4329: warning: use of cast expressions as lvalues is deprecated drivers/ata/libata-core.c:4353: warning: use of cast expressions as lvalues is deprecated drivers/ata/libata-core.c: In function `ata_sg_setup': drivers/ata/libata-core.c:4412: warning: use of cast expressions as lvalues is deprecated drivers/ata/libata-core.c: In function `ata_data_xfer': drivers/ata/libata-core.c:4490: error: implicit declaration of function `iowrite16_rep' drivers/ata/libata-core.c:4492: error: implicit declaration of function `ioread16_rep' drivers/ata/libata-core.c:4501: error: implicit declaration of function `iowrite16' drivers/ata/libata-core.c:4503: error: implicit declaration of function `ioread16' drivers/ata/libata-core.c: In function `ata_wait_register': drivers/ata/libata-core.c:6816: error: implicit declaration of function `ioread32' make[4]: *** [drivers/ata/libata-core.o] Erreur 1 make[3]: *** [drivers/ata] Erreur 2 Should defined ioread8, ioread16 ... in asm/io.h? # define ioread8(X) readb(X)# define ioread16(X) readw(X) ... What is the kernel configuration for the compact flash? I followed the instructions given in nioswiki : http://www.nioswiki.com/operatingsystems/u...ux/compactflash (http://www.nioswiki.com/operatingsystems/uclinux/compactflash) Thanks,- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please pull update. The current kernel is v2.6.30.
- Hippo
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