Will Bonney <wbon...@ix.netcom.com> wrote:
> $ gcc sqlite3.c
> Undefined symbols:
>   "_main", referenced from:
>       start in crt1.10.5.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> $

Make it

gcc -c sqlite3.c

-c tells gcc not to link. sqlite3.c is not a complete program by itself - it 
lacks main() function, which is what the linker complains about. It's intended 
to be linked into your application.
-- 
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to