Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust-azure check is failing on Ubuntu 13.04 64b #526

Closed
nterray opened this issue Jun 18, 2013 · 2 comments
Closed

rust-azure check is failing on Ubuntu 13.04 64b #526

nterray opened this issue Jun 18, 2013 · 2 comments

Comments

@nterray
Copy link

@nterray nterray commented Jun 18, 2013

Following the instruction in the readme, make check produce the following errors:

make check: rust-azure
make[1]: Entering directory `/home/nicolas/servo/build/src/support/azure/rust-azure'
/home/nicolas/servo/build/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/bin/rustc -A default_methods -O -L /home/nicolas/servo/build/src/support/opengles/rust-opengles -L /home/nicolas/servo/build/src/support/layers/rust-layers -L /home/nicolas/servo/build/src/support/glut/rust-glut -L /home/nicolas/servo/build/src/support/geom/rust-geom -L /home/nicolas/servo/build/src/support/skia/skia -L /home/nicolas/servo/build/src/platform/linux/rust-freetype -L /home/nicolas/servo/build/src/platform/linux/rust-fontconfig -L /home/nicolas/servo/build/src/platform/linux/rust-xlib /home/nicolas/servo/src/support/azure/rust-azure/azure.rc -o azure-test --test
error: linking with `cc` failed with code 1
note: cc arguments: -L/home/nicolas/servo/build/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -m64 -o azure-test azure-test.o -L/home/nicolas/servo/build/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -lcore-c3ca5d77d81b46c1-0.7-pre -L/home/nicolas/servo/build/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -lstd-4782a756585a81-0.7-pre -L/home/nicolas/servo/build/src/support/geom/rust-geom -lgeom-94839cbfe144198-0.1 -L/home/nicolas/servo/build/src/support/glut/rust-glut -lglut-94839cbfe144198-0.1 -L/home/nicolas/servo/build/src/support/opengles/rust-opengles -lopengles-94839cbfe144198-0.1 -L/home/nicolas/servo/build/src/support/layers/rust-layers -llayers-a6835b1197307437-0.1 -L/home/nicolas/servo/build/src/platform/linux/rust-freetype -lfreetype-94839cbfe144198-0.1 -L. -lazure -lstdc++ -lskia -lfontconfig -lrustrt -lrt -lpthread -lGL -lfreetype -L/home/nicolas/servo/build/src/support/opengles/rust-opengles -L/home/nicolas/servo/build/src/support/layers/rust-layers -L/home/nicolas/servo/build/src/support/glut/rust-glut -L/home/nicolas/servo/build/src/support/geom/rust-geom -L/home/nicolas/servo/build/src/support/skia/skia -L/home/nicolas/servo/build/src/platform/linux/rust-freetype -L/home/nicolas/servo/build/src/platform/linux/rust-fontconfig -L/home/nicolas/servo/build/src/platform/linux/rust-xlib -lazure -lrt -ldl -lm -lmorestack -lrustrt -Wl,-rpath,$ORIGIN/../../../compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,$ORIGIN/../../geom/rust-geom -Wl,-rpath,$ORIGIN/../../glut/rust-glut -Wl,-rpath,$ORIGIN/../../opengles/rust-opengles -Wl,-rpath,$ORIGIN/../../layers/rust-layers -Wl,-rpath,$ORIGIN/../../../platform/linux/rust-freetype -Wl,-rpath,/home/nicolas/servo/build/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,/home/nicolas/servo/build/src/support/geom/rust-geom -Wl,-rpath,/home/nicolas/servo/build/src/support/glut/rust-glut -Wl,-rpath,/home/nicolas/servo/build/src/support/opengles/rust-opengles -Wl,-rpath,/home/nicolas/servo/build/src/support/layers/rust-layers -Wl,-rpath,/home/nicolas/servo/build/src/platform/linux/rust-freetype -Wl,-rpath,/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib
note: /usr/bin/ld: /home/nicolas/servo/build/src/support/skia/skia/libskia.a(SkNativeSharedGLContext_unix.o): undefined reference to symbol 'XCreatePixmap'
/usr/bin/ld: note: 'XCreatePixmap' is defined in DSO /usr/lib/x86_64-linux-gnu/libX11.so.6 so try adding it to the linker command line
/usr/lib/x86_64-linux-gnu/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status

error: aborting due to previous error

I am running Ubuntu 13.04 64b. Do you need more information?

@jdm
Copy link
Member

@jdm jdm commented Jul 2, 2013

This is fixed by servo/rust-azure#32, but we're not using the tip of rust-azure yet :/

@metajack
Copy link
Contributor

@metajack metajack commented Jul 10, 2013

This should now be fixed. I ported the fix to the other branch.

@metajack metajack closed this Jul 10, 2013
ChrisParis pushed a commit to ChrisParis/servo that referenced this issue Sep 7, 2014
glennw pushed a commit to glennw/servo that referenced this issue Jan 16, 2017
Add API for tweaking debug options.

Right now, it's possible to toggle the profiler. In the future
this can include options for subpixel AA, shader hot reload etc.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/526)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.