Just outright stunninly confusing

Ty Tower tytower at hotmail.com.au
Wed Feb 13 13:57:59 PST 2008

John Reimer Wrote:

Thanks John . Trying to be constructive in my criticism to give a clear indication as to how a new user finds it 

> I'm not sure I'm following all that's going on here.  Have you tried 

> adding "-I../dwt-linux" to your dsss command line?  If dwt-linux is 
> installed using dsss, then this addition is not necessary.  But if not, 
> you will need to provide the path to dsss like so:
> dsss build -I../dwt-linux
I built dwt-linux sucessfully I think with "dsss build" from the dwt-linux directory
It built all the object files and reported no errors.

I then tried the same with "dwt-samples-8d49c4eb4800" which is how it downloaded .
Here I have got stuck with it compiling quite a lot of object files(mostly Tango stuff-47 in all) and then getting stuck looking for "-lXdamage"-below is the tail of the output.

d/lib -Xlinker -L/usr/bin/../lib -ltango-user-dmd -ltangobos -Xlinker -L/usr/bin/../lib -ltango-user-dmd -ltangobos -ltango-base-dmd -lpthread -lm
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libphobos.a(linux.o):(.data+0x0): multiple definition of `MAP_FAILED'
dsss_objs/D/tango.stdc.posix.sys.mman.o:(.data+0x1c): first defined here
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libphobos.a(linux.o):(.data+0x4): multiple definition of `FD_SETSIZE'
dsss_objs/D/tango.stdc.posix.sys.select.o:(.data+0x4): first defined here
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libphobos.a(linux.o):(.data+0xc): multiple definition of `RTLD_NOW'
dsss_objs/D/tango.stdc.posix.dlfcn.o:(.data+0x4): first defined here
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libphobos.a(linux.o):(.data+0x10): multiple definition of `_SIGSET_NWORDS'
dsss_objs/D/tango.stdc.posix.signal.o:(.data+0x40): first defined here
/usr/bin/ld: cannot find -lXdamage
collect2: ld returned 1 exit status
--- errorlevel 1
Command /usr/bin/rebuild returned with code 65280, aborting.
Error: Command failed, aborting.

So the build won't compile.

More information about the Digitalmars-d-dwt mailing list