Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
July 23, 2011 [Issue 6370] New: [RDMD] Cannot compile with etc.c.sqlite3 | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6370 Summary: [RDMD] Cannot compile with etc.c.sqlite3 Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: michal.minich@gmail.com --- Comment #0 from Michal Minich <michal.minich@gmail.com> 2011-07-23 08:08:08 PDT --- rdmd will not compile program that imports etc.c.sqlite3 while dmd with the same command line will. test.d import etc.c.sqlite3; void main () {}; cmdline rdmd test.d -c Error: module sqlite3_bindings from file dmd2/linux/bin64/../../src/phobos/etc/c/sqlite3.d conflicts with another module sqlite3_bindings from file dmd2/linux/bin64/../../src/phobos/etc/c/sqlite3.d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 23, 2011 [Issue 6370] [RDMD] Cannot compile with etc.c.sqlite3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michal Minich | http://d.puremagic.com/issues/show_bug.cgi?id=6370 Dmitry Olshansky <dmitry.olsh@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry.olsh@gmail.com --- Comment #1 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-07-23 10:42:38 PDT --- The root of the problem seems to be the wrong module name in etc/c/sqlite.d Try to change it's first line to: module etc.c.sqlite; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 23, 2011 [Issue 6370] [RDMD] Cannot compile with etc.c.sqlite3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michal Minich | http://d.puremagic.com/issues/show_bug.cgi?id=6370 --- Comment #2 from Michal Minich <michal.minich@gmail.com> 2011-07-23 10:50:07 PDT --- dmd handles it well, rdmd ends with similar error module etc.c.sqlite from file dmd2/linux/bin64/../../src/phobos/etc/c/sqlite3.d conflicts with another module sqlite from file dmd2/linux/bin64/../../src/phobos/etc/c/sqlite3.d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 23, 2011 [Issue 6370] [RDMD] Cannot compile with etc.c.sqlite3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michal Minich | http://d.puremagic.com/issues/show_bug.cgi?id=6370 --- Comment #3 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2011-07-23 10:56:32 PDT --- Sorry, I've botched it, that supposed to be etc.c.sqlite3, just like you import it -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 23, 2011 [Issue 6370] [RDMD] Cannot compile with etc.c.sqlite3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michal Minich | http://d.puremagic.com/issues/show_bug.cgi?id=6370 --- Comment #4 from Michal Minich <michal.minich@gmail.com> 2011-07-23 11:08:19 PDT --- No prob, I should pay more attention. (is the '3' really needed, I keep forgetting it) Now it compiles ok, but fails to link with rdmd, I guess this is another problem, but I suppose when dmd handles it, rdmd should too. Command: rdmd -L-ldl -L/usr/lib/x86_64-linux-gnu/libsqlite3.a -w -debug -g Main.d Output: /usr/lib/x86_64-linux-gnu/libsqlite3.a(sqlite3.o):(.rodata+0x2950): multiple definition of `sqlite3_version' /tmp/.rdmd/rdmd-Main.d-A0E982B2A9146FCDB47E9452DF01F7A4/Main.d.o:(.bss+0x0): first defined here /usr/bin/ld: Warning: size of symbol `sqlite3_version' changed from 8 in /tmp/.rdmd/rdmd-Main.d-A0E982B2A9146FCDB47E9452DF01F7A4/Main.d.o to 6 in /usr/lib/x86_64-linux-gnu/libsqlite3.a(sqlite3.o) /usr/bin/ld: sqlite3_temp_directory: TLS definition in /tmp/.rdmd/rdmd-Main.d-A0E982B2A9146FCDB47E9452DF01F7A4/Main.d.o section .tbss mismatches non-TLS definition in /usr/lib/x86_64-linux-gnu/libsqlite3.a(sqlite3.o) section .bss /usr/lib/x86_64-linux-gnu/libsqlite3.a: could not read symbols: Bad value collect2: ld returned 1 exit status --- errorlevel 1 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2013 [Issue 6370] [RDMD] fails to link when using etc.c.sqlite3 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Michal Minich | http://d.puremagic.com/issues/show_bug.cgi?id=6370 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |thecybershadow@gmail.com Resolution| |WORKSFORME --- Comment #5 from Vladimir Panteleev <thecybershadow@gmail.com> 2013-03-10 10:12:24 EET --- IIRC these were bugs in the etc.c.sqlite3 module that I've fixed a while ago. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation