Chinaunix

标题: 急!GCC连接问题!! [打印本页]

作者: charleshardy    时间: 2005-10-21 16:12
标题: 急!GCC连接问题!!
gcc -Dgdz -D_DEBUG  -I  -L. -L/usr/include -lpthread -lload -lstdc++ \
        -g \
        -c main.cpp \
        -o main \
        -static \
        -L. -lmagi
gcc: -lpthread: linker input file unused since linking not done
gcc: -lload: linker input file unused since linking not done
gcc: -lstdc++: linker input file unused since linking not done
gcc: -lmagi: linker input file unused since linking not done

当前目录下的libmagi.a找不到!!!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2