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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 23 11:08:21 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6370



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


More information about the Digitalmars-d-bugs mailing list