Skip to content
This repository has been archived by the owner on Dec 11, 2018. It is now read-only.

libgdiplus fails to compile on linux #8

Closed
fmunozs opened this issue Nov 9, 2013 · 4 comments
Closed

libgdiplus fails to compile on linux #8

fmunozs opened this issue Nov 9, 2013 · 4 comments
Labels
build resolved? will-not-happen-sorry Issues that get closed due to the project being archived

Comments

@fmunozs
Copy link

fmunozs commented Nov 9, 2013

Unable to complete compilation:

Configuration summary

  • Installation prefix = /usr/local
  • Cairo = 1.12.16 (system)
  • Text = cairo
  • EXIF tags = yes
  • Codecs supported:
    • TIFF: yes
    • JPEG: yes
    • GIF: yes
    • PNG: yes

....
/bin/sh ../libtool --tag=CC --mode=compile arm-unknown-nto-qnx8.0.0eabi-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wno-unused -Wno-format -I/home/fmunozs/bbndk/target_10_1_0_4633/qnx6/usr/include/freetype2 -I../cairo/src -I/home/fmunozs/net/monoberry/glib -I/home/fmunozs/net/monoberry/glib/glib -MT adjustablearrowcap.lo -MD -MP -MF .deps/adjustablearrowcap.Tpo -c -o adjustablearrowcap.lo adjustablearrowcap.c
libtool: compile: arm-unknown-nto-qnx8.0.0eabi-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wno-unused -Wno-format -I/home/fmunozs/bbndk/target_10_1_0_4633/qnx6/usr/include/freetype2 -I../cairo/src -I/home/fmunozs/net/monoberry/glib -I/home/fmunozs/net/monoberry/glib/glib -MT adjustablearrowcap.lo -MD -MP -MF .deps/adjustablearrowcap.Tpo -c adjustablearrowcap.c -fPIC -shared -DPIC -o .libs/adjustablearrowcap.o
In file included from adjustablearrowcap-private.h:38:0,
from adjustablearrowcap.c:25:
gdiplus-private.h:57:26: fatal error: cairo/cairo.h: No such file or directory
compilation terminated.
make[3]: *** [adjustablearrowcap.lo] Error 1

@roblillack
Copy link
Owner

Please try again, should be fixed now.

@fmunozs
Copy link
Author

fmunozs commented Nov 11, 2013

I tried on a clean copy again, and new changes seems to break mono compiling:

/usr/bin/ld: ../../libgc/.libs/libmonogc.a(alloc.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../libgc/.libs/libmonogc.a(alloc.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../libgc/.libs/libmonogc.a(alloc.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../libgc/.libs/libmonogc.a(alloc.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../libgc/.libs/libmonogc.a(alloc.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ../../libgc/.libs/libmonogc.a(alloc.o): Relocations in generic ELF (EM: 40)
../../libgc/.libs/libmonogc.a: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:1243: recipe for target 'pedump' failed
make[4]: *** [pedump] Error 1
make[4]: Leaving directory '/home/fmunozs/net/monoberry/mono/mono/metadata'
Makefile:429: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/fmunozs/net/monoberry/mono/mono'
Makefile:510: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/fmunozs/net/monoberry/mono'
Makefile:437: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/fmunozs/net/monoberry/mono'
Makefile:167: recipe for target 'target/lib/mono/2.0/mscorlib.dll' failed
make: *** [target/lib/mono/2.0/mscorlib.dll] Error 2

@roblillack
Copy link
Owner

Sure that the copy was clean? Can you update again and try "make reset-mono" before building?

@fmunozs
Copy link
Author

fmunozs commented Nov 17, 2013

[fmunozs@hydra monoberry]$ cd mono
[fmunozs@hydra mono]$ make reset-mono
make: *** No rule to make target 'reset-mono'. Stop.
[fmunozs@hydra mono]$ make reset-mono
make: *** No rule to make target 'reset-mono'. Stop.
[fmunozs@hydra mono]$ make reset-mono
make: *** No rule to make target 'reset-mono'. Stop.
[fmunozs@hydra mono]$ cd ..
[fmunozs@hydra monoberry]$ make reset-mono
make: *** No rule to make target 'reset-mono'. Stop.

Not sure if you meant "git reset mono" in the "monoberry" dir, but it still fails with the same error as above

@roblillack roblillack added the will-not-happen-sorry Issues that get closed due to the project being archived label Dec 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build resolved? will-not-happen-sorry Issues that get closed due to the project being archived
Projects
None yet
Development

No branches or pull requests

2 participants