gcc -c xxx.c -I/头文件的路径一般是: gcc -c read.c -I/home/speex/includegcc -o read read.o -L/home/speex/lib -l/speex-L/动态库的路径-I/动态库的名字