[Issue 6370] [RDMD] Cannot compile with etc.c.sqlite3

2011-07-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6370


Dmitry Olshansky dmitry.o...@gmail.com changed:

   What|Removed |Added

 CC||dmitry.o...@gmail.com


--- Comment #1 from Dmitry Olshansky dmitry.o...@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: ---


[Issue 6370] [RDMD] Cannot compile with etc.c.sqlite3

2011-07-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6370



--- Comment #2 from Michal Minich michal.min...@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: ---


[Issue 6370] [RDMD] Cannot compile with etc.c.sqlite3

2011-07-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6370



--- Comment #3 from Dmitry Olshansky dmitry.o...@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: ---


[Issue 6370] [RDMD] Cannot compile with etc.c.sqlite3

2011-07-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6370



--- Comment #4 from Michal Minich michal.min...@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: ---