www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - -lXdamage

reply Ty Tower <tytower hotmail.com.au> writes:
with dsss build I get an error message as so

[root linuxbox dwt-linux]# dsss build
MyStuff/main.d => windower
+ /usr/bin/rebuild -Idsss_imports/ -I. -S./ -I/usr/include/d -S/usr/lib/ 
-I/usr/include/d -S/usr/lib -I/root/d/include/d -S/root/d/lib  -oqdsss_objs/D 
MyStuff/main.d -ofwindower
gcc dsss_objs/D/_main.o ........lots of object files...........

 -o windower -m32 -Xlinker --start-group -ltango-base-dmd -ltango-user-dmd
-Xlinker --end-group -lcairo -lglib-2.0 -ldl -lgmodule-2.0 -lgobject-2.0
-lpango-1.0 -lXfixes -lX11 -lXdamage -lXcomposite -lXcursor -lXrandr -lXi
-lXinerama -lXrender -lXext -lXtst -lfontconfig -lpangocairo-1.0 -lgthread-2.0
-lgdk_pixbuf-2.0 -latk-1.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -Xlinker -L./ -Xlinker
-L/usr/lib/ -Xlinker -L/usr/lib -Xlinker -L/root/d/lib -Xlinker
-L/usr/bin/../lib -ltango-user-dmd -Xlinker -L/usr/bin/../lib -ltango-user-dmd
-ltango-base-dmd -lpthread -lm
/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.

Ahtone know what causes Xdamage not to be found?
Feb 20 2008
parent reply Milke Wey <no.spam example.com> writes:
On Wed, 2008-02-20 at 17:38 -0500, Ty Tower wrote:
 with dsss build I get an error message as so
 
 [root linuxbox dwt-linux]# dsss build
 MyStuff/main.d => windower
 + /usr/bin/rebuild -Idsss_imports/ -I. -S./ -I/usr/include/d -S/usr/lib/ 
-I/usr/include/d -S/usr/lib -I/root/d/include/d -S/root/d/lib  -oqdsss_objs/D 
MyStuff/main.d -ofwindower
 gcc dsss_objs/D/_main.o ........lots of object files...........
 
  -o windower -m32 -Xlinker --start-group -ltango-base-dmd -ltango-user-dmd
-Xlinker --end-group -lcairo -lglib-2.0 -ldl -lgmodule-2.0 -lgobject-2.0
-lpango-1.0 -lXfixes -lX11 -lXdamage -lXcomposite -lXcursor -lXrandr -lXi
-lXinerama -lXrender -lXext -lXtst -lfontconfig -lpangocairo-1.0 -lgthread-2.0
-lgdk_pixbuf-2.0 -latk-1.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -Xlinker -L./ -Xlinker
-L/usr/lib/ -Xlinker -L/usr/lib -Xlinker -L/root/d/lib -Xlinker
-L/usr/bin/../lib -ltango-user-dmd -Xlinker -L/usr/bin/../lib -ltango-user-dmd
-ltango-base-dmd -lpthread -lm
 /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.
 
 Ahtone know what causes Xdamage not to be found?

Is libxdamage installed on your system? -- Mike Wey
Feb 21 2008
parent Ty Tower <tytower hotmail.com.au> writes:
It is now Mike thanks 
Problem fixed I think
Mandriva 2007 Spring does not put the devel or stat-devel packages on properly .
I had to reinstall them
Feb 21 2008