Skip to content
New issue

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

warning LNK4255: library contain multiple objects of the same name; linking object as if no debug info #25

Open
bubnenkoff opened this issue Dec 27, 2018 · 1 comment
Labels

Comments

@bubnenkoff
Copy link

bubnenkov@DESKTOP-A1C4H1H D:\code\2018\ftp_walker
$ dub --arch=x86_64
Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for x86_64.
hunt 1.0.0-rc.6: building configuration "library"...
hunt-sql 1.0.1: building configuration "library"...
hunt-database 1.0.3: building configuration "default"...
cachetools 0.0.7: building configuration "library"...
requests 1.0.4: building configuration "std"...
ftp_walker ~master: building configuration "application"...
Linking...
hunt-database.lib(Connection.obj) : warning LNK4255: library contain multiple objects of the same name; linking object as if no debug info
hunt-database.lib(ResultSet.obj) : warning LNK4255: library contain multiple objects of the same name; linking object as if no debug info
hunt-database.lib(Dialect.obj) : warning LNK4255: library contain multiple objects of the same name; linking object as if no debug info
hunt-database.lib(Connection.obj) : warning LNK4255: library contain multiple objects of the same name; linking object as if no debug info
hunt-database.lib(ResultSet.obj) : warning LNK4255: library contain multiple objects of the same name; linking object as if no debug info
hunt-database.lib(Dialect.obj) : warning LNK4255: library contain multiple objects of the same name; linking object as if no debug info
hunt-database.lib(Dialect.obj) : warning LNK4255: library contain multiple objects of the same name; linking object as if no debug info
sqlite3.lib : warning LNK4003: invalid library format; library ignored
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_open referenced in function _D4arsd6sqlite6Sqlite6__ctorMFAyaiZCQBiQBgQBc
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_close referenced in function _D4arsd6sqlite6Sqlite6__dtorMFZv
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_mprintf referenced in function _D4arsd6sqlite6Sqlite6escapeMFAyaZQe
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_free referenced in function _D4arsd6sqlite6Sqlite6escapeMFAyaZQe
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_errmsg referenced in function _D4arsd6sqlite6Sqlite5errorMFZAyaftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_changes referenced in function _D4arsd6sqlite6Sqlite12affectedRowsMFZi
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_last_insert_rowid referenced in function _D4arsd6sqlite6Sqlite12lastInsertIdMFZi
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_exec referenced in function _D4arsd6sqlite6Sqlite4execMFAyaDFHAxaAaZvZi
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_prepare_v2 referenced in function _D4arsd6sqlite9Statement6__ctorMFNcCQBiQBg6SqliteAyaZSQCaQByQBu
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_step referenced in function _D4arsd6sqlite9Statement7executeMFbZCQBj8database9ResultSet
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_column_count referenced in function _D4arsd6sqlite9Statement7executeMFbZCQBj8database9ResultSet
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_column_name referenced in function _D4arsd6sqlite9Statement7executeMFbZCQBj8database9ResultSet
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_column_type referenced in function _D4arsd6sqlite9Statement7executeMFbZCQBj8database9ResultSet
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_column_int64 referenced in function _D4arsd6sqlite9Statement7executeMFbZCQBj8database9ResultSet
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_column_double referenced in function _D4arsd6sqlite9Statement7executeMFbZCQBj8database9ResultSet
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_column_text referenced in function _D4arsd6sqlite9Statement7executeMFbZCQBj8database9ResultSet
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_column_blob referenced in function _D4arsd6sqlite9Statement7executeMFbZCQBj8database9ResultSet
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_column_bytes referenced in function _D4arsd6sqlite9Statement7executeMFbZCQBj8database9ResultSet
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_reset referenced in function _D4arsd6sqlite9Statement5resetMFZvftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_clear_bindings referenced in function _D4arsd6sqlite9Statement13resetBindingsMFZv
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_bind_parameter_index referenced in function _D4arsd6sqlite9Statement14bindNameLookUpMFxAaZi
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_bind_null referenced in function _D4arsd6sqlite9Statement4bindMFixAaZv
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_bind_text referenced in function _D4arsd6sqlite9Statement4bindMFixAaZv
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_bind_double referenced in function _D4arsd6sqlite9Statement4bindMFifZv
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_bind_int referenced in function _D4arsd6sqlite9Statement4bindMFiiZv
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_bind_int64 referenced in function _D4arsd6sqlite9Statement4bindMFilZv
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_bind_blob referenced in function _D4arsd6sqlite9Statement4bindMFixAgZv
ftp_walker.obj : error LNK2019: unresolved external symbol sqlite3_finalize referenced in function _D4arsd6sqlite9Statement8finalizeMFZv
.dub\build\application-debug-windows-x86_64-dmd_2083-CBDF9E55C89E612C8728A3C32B910230\ftp_walker.exe : fatal error LNK1120: 28 unresolved externals
Error: linker exited with status 1120
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

bubnenkov@DESKTOP-A1C4H1H D:\code\2018\ftp_walker
$ dmd
DMD32 D Compiler v2.083.1
@zhangyuchun
Copy link
Contributor

"sqlite3.lib : warning LNK4003: invalid library format; library ignored. "
you can build a valid sqlite3 lib , and pull a request to this git.
or I'll compile it when I have time.

@zoujiaqing zoujiaqing added the bug label Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants