The GCC compiler flags that control unused warnings include:
-Wunused-function
-Wunused-label
-Wunused-parameter
-Wunused-value
-Wunused-variable
-Wun
- 4月 16 週四 201514:54
unused warning
- 4月 16 週四 201514:28
error: the frame size of 1032 bytes is larger than 1024 bytes?
cc1: warnings being treated as errors
somefile.c:200: error: the frame size of 1032 bytes is larger than 1024 bytes
The line number points to the clos
- 4月 16 週四 201514:23
error: implicit declaration of function ‘daemonize’
error: implicit declaration of function daemonize -Werror=implicit-function-declaration
這個問題是由於 3.8.x 以上內核去掉了daemonize這個函數, 導致無法順利編譯 當然這是查了N多資料, 搜索了對應
- 4月 02 週四 201513:46
Kernel 3.4 to 3.10 porting guide
Kernel 3.4 to 3.10 porting guide
From eLinux.org
Jump to: navigation, search
Here are some issues you may run into when porting something from 3.4 to
- 2月 04 週三 201514:09
imx6 kernel 版本錯誤
编译内核时出现make CONFIG_DEBUG_SECTION_MISMATCH=y 错误提示:root@server linux-2.6.35.13# make modules CHK include/linux/version.h CHK include/generated/uts
- 7月 29 週二 201417:30
LDD3 sull 編譯過程與錯誤
首先,我們去下載一份ldd3的配套源碼,下面是我分享的一份代碼,大家可以下載使用:
對源碼進行解壓,裏面會有好幾個目錄,我們現在要關心的就是scull這個目錄,下面的操作都會在這裏進行
root@yafeng-VirtualBox:/examples# ls
include LICENSE misc
- 7月 04 週五 201415:35
the frame size of XXX bytes is larger than 1024 bytes
the frame size of XXX bytes is larger than 1024 bytes
最近編譯時遇到的問題找了好久終於知道了--------------------------------簡單舉例--------------------------------警告void te
- 7月 20 週五 201217:46
error: unknownfield ‘ioctl’ specified in initializer
error: unknownfield ioctl specified in initializer 异步通知的意思是:一旦设备就绪,则主动通知应用程序,这样应用程序就根本不需要查询设备的状态,这一点非常类似于硬件上的中断的概念,比较准确的称谓是信号驱动的异步I/O信号是在软件层次上对中断机制的一种
- 6月 26 週二 201216:54
kernle 3.3 v4l fatal error: asm/system.h: No such file or directory
CC M /xx/v4l/ir-raw.o CC M /xx/v4l/v4l2-dev.o/xx/v4l/v4l2-dev.c:29:24: fatal error: asm/system.h: No such file or directorycompilation terminated.find
- 3月 30 週三 201117:57
Unknown symbol
