|
各位兄台,Solaris下请问如何解决下面问题
bash-3.00$ ls
sqlite3.h CppSQLite3.h sqlite3.cpp
bash-3.00$ gcc -lresolv -lstdc++ -o sqlite sqlite3.cpp -L/usr/local/lib -lsqlite3
Undefined first referenced
symbol in file
main /usr/local/lib/gcc/i386-pc-solaris2.1 0/3.4.6/crt1.o
ld: fatal: Symbol referencing errors. No output written to sqlite
collect2: ld returned 1 exit status
bash-3.00$ |
|