Re: [sqlite] Compiling error on Cygwin on Windows 8.1: 3.8.7.4 and 3.8.8

2015-01-23 Thread Jan Nijtmans
2015-01-19 11:01 GMT+01:00 Frank Ho : > I compiled the SQLite on the Cygwin 1.7.33 running on a Windows 8.1, here's > the error: > > .libs/sqlite3.o: In function `sqlite3ThreadProc': > ../sqlite-autoconf-3080800/sqlite3.c:22471: undefined reference to > `_endthreadex' > .libs/sqlite3.o: In fu

Re: [sqlite] Compiling error on Cygwin on Windows 8.1: 3.8.7.4 and 3.8.8

2015-01-19 Thread Jan Nijtmans
2015-01-19 11:01 GMT+01:00 Frank Ho : > Hi, > > I compiled the SQLite on the Cygwin 1.7.33 running on a Windows 8.1, here's > the error: > > .libs/sqlite3.o: In function `sqlite3ThreadProc': > ../sqlite-autoconf-3080800/sqlite3.c:22471: undefined reference to > `_endthreadex' > .libs/sqlite3.

Re: [sqlite] Compiling Error

2010-10-16 Thread Germán Herrera
If I understand the question.. It seems that you have no main() on that source file. If you want to compile only (without linking), you should run: g++ -c sqlite3.o sqlite3.c and then link that .o to the object file that holds your main(). Regards! On 10/16/2010 11:56 AM, Will Bonney wrote: >

Re: [sqlite] Compiling Error

2010-10-16 Thread Igor Tandetnik
Will Bonney 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 m