Taking a closer look at your output, it looks like you're using version 3.6.2.
And if you were building from the amalgamation downloads the TK_* opcodes would have not been undefined (they are in sqlite3.c), which means you are building from the individual sources. The TK_* opcodes will be in parse.h, a file generated from the lemon parser step of the build. You should check that the lemon parser was correctly built, and that it ran successfully on the parse.y file as part of the build. The next part of the build combines all the sources, including the generated parse.h file (and parse.c, etc.), into a single source file, sqlite3.c. You should be able to check your generate sqlite3.c file for a comment of the form "Begin file parse.h". HTH. -Shane On Wed, Oct 22, 2008 at 8:41 AM, Shane Harrelson <[EMAIL PROTECTED]> wrote: > What version are you trying to build? 3.6.4? > Where did you get your sources? The SQLite website? > Are you building from the amalgamation? or the individual sources? > > -Shane > > On Wed, Oct 22, 2008 at 8:07 AM, Brent Austin <[EMAIL PROTECTED]> wrote: >> I've been trying to get sqlite3 to build on my Mac under macports for ages. >> Any help would be appreciated-- >> >> client-6x-1xx-17-x14:~ brent1a$ sudo port install sqlite3 >> ---> Building sqlite3 with target all >> Error: Target org.macports.build returned: shell command " cd >> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/work/sqlite-3.6.2" >> && gnumake all " returned error 2 >> Command output: sqlite3.c:80990: error: 'TK_LSHIFT' undeclared (first use in >> this function) >> sqlite3.c:80993: error: 'TK_LT' undeclared (first use in this function) >> sqlite3.c:80999: error: 'TK_GE' undeclared (first use in this function) >> sqlite3.c:81002: error: 'TK_RSHIFT' undeclared (first use in this function) >> sqlite3.c:81005: error: 'TK_GT' undeclared (first use in this function) >> sqlite3.c:81011: error: 'TK_ILLEGAL' undeclared (first use in this function) >> sqlite3.c:81020: error: 'TK_BITOR' undeclared (first use in this function) >> sqlite3.c:81023: error: 'TK_CONCAT' undeclared (first use in this function) >> sqlite3.c:81028: error: 'TK_COMMA' undeclared (first use in this function) >> sqlite3.c:81032: error: 'TK_BITAND' undeclared (first use in this function) >> sqlite3.c:81036: error: 'TK_BITNOT' undeclared (first use in this function) >> sqlite3.c:81053: error: 'TK_STRING' undeclared (first use in this function) >> sqlite3.c:81056: error: 'TK_ID' undeclared (first use in this function) >> sqlite3.c:81068: error: 'TK_DOT' undeclared (first use in this function) >> sqlite3.c:81076: error: 'TK_INTEGER' undeclared (first use in this function) >> sqlite3.c:81082: error: 'TK_FLOAT' undeclared (first use in this function) >> sqlite3.c:81102: warning: assignment makes integer from pointer without a >> cast >> sqlite3.c:81106: error: 'TK_VARIABLE' undeclared (first use in this function) >> sqlite3.c:81115: error: 'TK_REGISTER' undeclared (first use in this function) >> sqlite3.c:81155: error: 'TK_BLOB' undeclared (first use in this function) >> sqlite3.c: In function 'sqlite3RunParser': >> sqlite3.c:81227: error: 'TK_SPACE' undeclared (first use in this function) >> sqlite3.c:81227: warning: case label value exceeds maximum value for type >> sqlite3.c:81235: error: 'TK_ILLEGAL' undeclared (first use in this function) >> sqlite3.c:81235: warning: case label value exceeds maximum value for type >> sqlite3.c:81242: error: 'TK_SEMI' undeclared (first use in this function) >> sqlite3.c:81242: warning: case label value exceeds maximum value for type >> sqlite3.c:81258: warning: comparison between pointer and integer >> sqlite3.c:81259: warning: passing argument 2 of 'sqlite3Parser' makes >> integer from pointer without a cast >> gnumake: *** [sqlite3.lo] Error 1 >> >> Error: Status 1 encountered during processing. >> >> >> >> >> _______________________________________________ >> sqlite-users mailing list >> [email protected] >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> > _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

