도와주세요!!
drivers/char/s3c_mem.c:36:22: error: mach/map.h: No such file or directory
drivers/char/s3c_mem.c:40:22: error: mach/dma.h: No such file or directory
drivers/char/s3c_mem.c:41:22: error: plat/dma.h: No such file or directory
drivers/char/s3c_mem.c:49: error: variable 's3c_m2m_dma_client' has initializer but incomplete type
drivers/char/s3c_mem.c:50: error: unknown field 'name' specified in initializer
drivers/char/s3c_mem.c:50: warning: excess elements in struct initializer
drivers/char/s3c_mem.c:50: warning: (near initialization for 's3c_m2m_dma_client')
drivers/char/s3c_mem.c:58: warning: 'enum s3c2410_dma_buffresult' declared inside parameter list
drivers/char/s3c_mem.c:58: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/char/s3c_mem.c:58: warning: 'struct s3c2410_dma_chan' declared inside parameter list
drivers/char/s3c_mem.c:58: error: parameter 4 ('result') has incomplete type
drivers/char/s3c_mem.c: In function 's3c_mem_ioctl':
drivers/char/s3c_mem.c:254: error: implicit declaration of function 's3c2410_dma_request'
drivers/char/s3c_mem.c:254: error: 'DMACH_3D_M2M' undeclared (first use in this function)
drivers/char/s3c_mem.c:254: error: (Each undeclared identifier is reported only once
drivers/char/s3c_mem.c:254: error: for each function it appears in.)
drivers/char/s3c_mem.c:259: error: implicit declaration of function 's3c2410_dma_set_buffdone_fn'
drivers/char/s3c_mem.c:262: error: implicit declaration of function 's3c2410_dma_devconfig'
drivers/char/s3c_mem.c:262: error: 'S3C_DMA_MEM2MEM' undeclared (first use in this function)
drivers/char/s3c_mem.c:262: warning: passing argument 1 of 'virt_to_phys' makes pointer from integer without a cast
drivers/char/s3c_mem.c:263: error: implicit declaration of function 's3c2410_dma_config'
drivers/char/s3c_mem.c:266: error: implicit declaration of function 's3c2410_dma_enqueue'
drivers/char/s3c_mem.c:266: warning: passing argument 1 of 'virt_to_phys' makes pointer from integer without a cast
drivers/char/s3c_mem.c:267: error: implicit declaration of function 's3c2410_dma_ctrl'
drivers/char/s3c_mem.c:267: error: 'S3C2410_DMAOP_START' undeclared (first use in this function)
drivers/char/s3c_mem.c:291: error: implicit declaration of function 's3c2410_dma_free'
make[2]: *** [drivers/char/s3c_mem.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
이런 오류가 생깁니다.
s3c_mem.o 등록이 안되는거 같은데.. 아무리 찾아봐도 검색도 안되고 찾을 수가 없네요...
오류 해결 어떻게 해야하나요?
부탁드립니다.
감사합니다. 그런데 다른 오류가 생겨서 질문 드립니다.
./make_s3c6410.sh를 하면
copy from ../build_s3c6410/arch/arm/boot/zImage to /tftpboot/zImage.ez-s3c6410
cp: cannot create regular file `/tftpboot/zImage.ez-s3c6410': No such file or directory
이런 오류가 생깁니다. `/tftpboot/zImage.ez-s3c6410' 파일이나 폴더를 찾지 못하는건가요?
저희 보드를 사용 하신다면
make clean
./falinux-config.sh ez-s3c6410
./make_s3c6410.sh
이렇게 하셔야 정상 컴파일 됩니다.