We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On a FreeBSD 13.0-RELEASE-p3 system, I'd like to use sqlite3.
$ tar -zxvf v0.7.2.tar.gz $ cd luadbi-0.7.2/ $ LUA_V=52 LUA_INC=/usr/local/include/lua52 SQLITE_INC=/usr/local/include/ make sqlite3
cc -c -o build/dbd_common.o /usr/local/include/lua52 -g -pedantic -Wall -O2 -shared -fPIC -DPIC -std=c99 -O2 -pipe -I. cc: warning: /usr/local/include/lua52: 'linker' input unused [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-g' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-pedantic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-Wall' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-D PIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-std=c99' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-I .' [-Wunused-command-line-argument] cc -c -o build/dbd_sqlite3_main.o /usr/local/include/lua52 -g -pedantic -Wall -O2 -shared -fPIC -DPIC -std=c99 -O2 -pipe -I. -shared -I/usr/include -lsqlite3 cc: warning: /usr/local/include/lua52: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lsqlite3: 'linker' input unused [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-g' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-pedantic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-Wall' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-D PIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-std=c99' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-I .' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-I /usr/include' [-Wunused-command-line-argument] cc -c -o build/dbd_sqlite3_connection.o /usr/local/include/lua52 -g -pedantic -Wall -O2 -shared -fPIC -DPIC -std=c99 -O2 -pipe -I. -shared -I/usr/include -lsqlite3 cc: warning: /usr/local/include/lua52: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lsqlite3: 'linker' input unused [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-g' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-pedantic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-Wall' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-D PIC' [-Wunused-command-line-argument] cc -c -o build/dbd_sqlite3_connection.o /usr/local/include/lua52 -g -pedantic -Wall -O2 -sha red -fPIC -DPIC -std=c99 -O2 -pipe -I. -shared -I/usr/include -lsqlite3 cc: warning: /usr/local/include/lua52: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lsqlite3: 'linker' input unused [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-g' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-pedantic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-Wall' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-I .' [-Wunused-command-line-argument] cc -c -o build/dbd_common.o /usr/local/include/lua52 -g -pedantic -Wall -O2 -shared -fPIC -D PIC -std=c99 -O2 -pipe -I. cc: warning: /usr/local/include/lua52: 'linker' input unused [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-g' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-pedantic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-Wall' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-D PIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-std=c99' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-I .' [-Wunused-command-line-argument] cc -c -o build/dbd_sqlite3_connection.o /usr/local/include/lua52 -g -pedantic -Wall -O2 -sha red -fPIC -DPIC -std=c99 -O2 -pipe -I. -shared -I/usr/include -lsqlite3 cc: warning: /usr/local/include/lua52: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lsqlite3: 'linker' input unused [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-g' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-pedantic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-Wall' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-D PIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-std=c99' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-I .' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-I /usr/include' [-Wunused-command-line-argument] cc -c -o build/dbd_sqlite3_statement.o /usr/local/include/lua52 -g -pedantic -Wall -O2 -shared -fPIC -DPIC -std=c99 -O2 -pipe -I. -shared -I/usr/include -lsqlite3 cc: warning: /usr/local/include/lua52: 'linker' input unused [-Wunused-command-line-argument] cc: warning: -lsqlite3: 'linker' input unused [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-g' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-pedantic' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-Wall' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-fPIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-D PIC' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-std=c99' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-O2' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-I .' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-I /usr/include' [-Wunused-command-line-argument] cc build/dbd_common.o build/dbd_sqlite3_main.o build/dbd_sqlite3_connection.o build/dbd_sqlite3_statement.o -o dbd/sqlite3.so /usr/local/include/lua52 -g -pedantic -Wall -O2 -shared -fPIC -DPIC -std=c99 -O2 -pipe -I. -shared -I/usr/include -lsqlite3 cc: error: no such file or directory: 'build/dbd_common.o' cc: error: no such file or directory: 'build/dbd_sqlite3_main.o' cc: error: no such file or directory: 'build/dbd_sqlite3_connection.o' cc: error: no such file or directory: 'build/dbd_sqlite3_statement.o' *** Error code 1 Stop. make: stopped in /usr/home/jabber2/luadbi-0.7.2
The text was updated successfully, but these errors were encountered:
Two issues here:
Completed command:
LUA_V=52 LUA_INC=-I/usr/local/include/lua52 SQLITE3_INC=-I/usr/local/include/ SQLITE3_LDFLAGS='-L/usr/local/lib -lsqlite3' gmake sqlite3
This got me a usable dbd/sqlite3.so on FreeBSD 13.2/amd64.
Sorry, something went wrong.
No branches or pull requests
On a FreeBSD 13.0-RELEASE-p3 system, I'd like to use sqlite3.
The text was updated successfully, but these errors were encountered: