23,121
社区成员
发帖
与我相关
我的任务
分享
root@ubuntu:~/sqlite3-arm# arm-linux-gcc test.c -o test -L/home/sec/sqlite3-arm/lib -lsqlite3
test.c:3:21: error: sqlite3.h: No such file or directory
test.c: In function 'main':
test.c:23: error: 'sqlite3' undeclared (first use in this function)
test.c:23: error: (Each undeclared identifier is reported only once
test.c:23: error: for each function it appears in.)
test.c:23: error: 'db' undeclared (first use in this function)
test.c:33: warning: incompatible implicit declaration of built-in function 'exit'
test.c:45: warning: incompatible implicit declaration of built-in function 'exit'
test.c:51: error: 'SQLITE_OK' undeclared (first use in this function)