dwt-samples

Frank Benoit keinfarbton at googlemail.com
Mon Feb 11 15:35:33 PST 2008


Ty Tower schrieb:
> Thanks Frank 
> did as suggested dwt-linux looks to have gone OK
> dwt-samples not so but you did warn me I think
> 
> got this back on both "dsss build"  and "dsss build dwtexamples/helloworld/HelloWorld1.d"
> 
> 
> /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.
> 
> Looked in /usr/bin/ and ld is there . What is it telling me it can't find?  
> What does -IXdamage mean?
> 

this look like you use gdc.
goto the dsss install dir, find the file etc/rebuild/default
change the content to "dmd-posix-tango", to ensure both dmd and tango 
are used.



More information about the Digitalmars-d-dwt mailing list