D Shared Software System version 0.4 released!

Gregor Richards Richards at codu.org
Mon Nov 20 13:17:23 PST 2006


Dawid Ciężarkiewicz wrote:
> dpc at chesed:~/tmp$ rm -Rf dsss-0.6
> dpc at chesed:~/tmp$ tar xjf dsss-0.6.tar.bz2
> cdpc at chesed:~/tmp$ cd dsss-0.6/
> dpc at chesed:~/tmp/dsss-0.6$ make -f Makefile.dmd.posix
> cd dsss_build && \
>         make -f Makefile.unix
> [...]
> hcf
> 
> sss/main.d => dsss
> Command: cd dsss_build
> Command: make -f Makefile.unix
> + make -f Makefile.unix
> make[1]: Entering directory `/home/dpc/tmp/dsss-0.6/dsss_build'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/dpc/tmp/dsss-0.6/dsss_build'
> + /home/dpc/tmp/dsss-0.6/dsss_build/dsss_build -I/home/dpc/tmp/dsss-0.6/inst/include/d -LIBPATH=/home/dpc/tmp/dsss-0.6/inst/lib -LIBPATH=.  -od. -g -Idsss_build -LIBPATH=dsss_build
> sss/main.d -Tdsss
> ./libSDD-sss.a(conf.o):(.data+0xac): undefined reference to
> `_ModuleInfo_4util8booltype'
> ./libSDD-sss.a(conf.o):(.data+0xb0): undefined reference to
> `_ModuleInfo_4util3fdt'
> ./libSDD-sss.a(conf.o):(.data+0xb4): undefined reference to
> `_ModuleInfo_4util3str'
> ./libSDD-sss.a(conf.o): In function `_D3sss4conf9fileNewerFAaAaZx':
> /home/dpc/tmp/dsss-0.6/sss/conf.d:905: undefined reference to
> `_Class_4util3fdt12FileDateTime'
> /home/dpc/tmp/dsss-0.6/sss/conf.d:905: undefined reference to
> `_D4util3fdt12FileDateTime5_ctorFAaZC4util3fdt12FileDateTime'
> /home/dpc/tmp/dsss-0.6/sss/conf.d:906: undefined reference to
> `_Class_4util3fdt12FileDateTime'
> /home/dpc/tmp/dsss-0.6/sss/conf.d:906: undefined reference to
> `_D4util3fdt12FileDateTime5_ctorFAaZC4util3fdt12FileDateTime'
> collect2: ld returned 1 exit status
> dpc at chesed:~/tmp/dsss-0.6$
> 
> :/ Since 0.4 I can't get DSSS to compile.

For my own defense: Until now I'd never actually tested it with DMD on 
GNU/Linux :)

This is one of those magical WTF things: The 'gdc' frontend passes 
libraries to the linker in one order, the 'gcc' frontend (used by DMD) 
passes them in the opposite order.  So when I fixed it for one, it broke 
it for the other.

Wow.

Anyway, it's fixed in 0.7.  I even compiled it with dmd :P

My apologies ... all part of the initial ironing out, getting it working 
everywhere.

http://www.dsource.org/projects/dsss/browser/downloads/0.7

  - Gregor Richards



More information about the Digitalmars-d-announce mailing list