[root@localhost tmp]# arm-hisiv100-linux-gcc -I/root/3531/fcgi-2.4.0/include -L/tmp/ -lfcgi -lm nvrcgi.c
/tmp/cceQfPFY.o: In function `main':
nvrcgi.c:(.text+0x48): undefined reference to `FCGI_printf'
nvrcgi.c:(.text+0x6c): undefined reference to `FCGI_printf'
nvrcgi.c:(.text+0x84): undefined reference to `FCGI_printf'
nvrcgi.c:(.text+0x9c): undefined reference to `FCGI_printf'
nvrcgi.c:(.text+0xb4): undefined reference to `FCGI_printf'
/tmp/cceQfPFY.o:nvrcgi.c:(.text+0xcc): more undefined references to `FCGI_printf' follow
/tmp/cceQfPFY.o: In function `main':
nvrcgi.c:(.text+0x160): undefined reference to `FCGI_fgets'
nvrcgi.c:(.text+0x178): undefined reference to `FCGI_printf'
nvrcgi.c:(.text+0x17c): undefined reference to `FCGI_Accept'
nvrcgi.c:(.text+0x1c0): undefined reference to `_fcgi_sF'
collect2: ld returned 1 exit status
[root@localhost tmp]#
[root@localhost tmp]# arm-hisiv100-linux-gcc nvrcgi.c -I/root/3531/fcgi-2.4.0/include -L/tmp/ -lfcgi -lm
[root@localhost tmp]#
阅读(1358) | 评论(0) | 转发(0) |