On 3/25/2010 5:12 PM, Magnus Torfason wrote: > On 3/5/2010 3:45 PM, Simon Slavin wrote: >> On 5 Mar 2010, at 7:18pm, Gary Zigmann wrote: >> >>> [Linker error] undefined reference to `winm...@16' >>> >>> Can you help me? >> >> http://lmgtfy.com/?q=undefined+reference+to+%60WinMain%4016%27 > > Searching "undefined reference to `winm...@16' sqlite" turns up Simon's > email as the first link. That's an ironic recursion :-) > > My guess is that Gary asked this question because he downloaded the > amalgamation and just typed "gcc sqlite3.c", hoping to end up with the > command line shell (that is what I just did). > > http://www.sqlite.org/sqlite.html states that "The SQLite library > *includes* a simple command-line utility named sqlite3" so this hope > does not seem entirely unfounded. But of course now the question > becomes, how should one compile the command line shell from the source. > Any hints on how to do that, oriented towards intermediate users (who > have compiled a program or two, and sometimes fixed a minor annoyance, > but who are not in the business of developing software whole-cloth) ? > > Best, > Magnus >
Well, now I feel a tiny bit silly, because http://www.sqlite.org/sqlite.html does contain a link that eventually leads to the shell.c file that is needed to compile the command line client. Best, Magnus _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

