Coder Social home page Coder Social logo

salass00 / cairo_lib Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 43.66 MB

AmigaOS port of cairo.

Makefile 10.81% Roff 13.39% M4 0.42% Shell 2.23% C 60.75% C++ 0.23% HTML 8.96% CSS 0.05% Awk 0.01% JavaScript 0.06% C# 0.02% Smalltalk 2.43% Python 0.03% POV-Ray SDL 0.63%

cairo_lib's People

Contributors

salass00 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

trgswe

cairo_lib's Issues

When linking tests, there's a warning for not found libz.so.1

The error:
After doing "make", this comes up when making test:

/usr/lib/gcc/ppc-amigaos/8.2.0/../../../../ppc-amigaos/bin/ld: warning: libz.so.1, needed by /SDK/local/newlib/lib/libpng16.so, not found (try using -rpath or -rpath-link)
/SDK/local/newlib/lib/libpng16.so: undefined reference to `inflateValidate@ZLIB_1.2.9'
/SDK/local/newlib/lib/libpng16.so: undefined reference to `inflateReset2@ZLIB_1.2.3.4'
collect2: error: ld returned 1 exit status

Fix:
Add rpath-link as below to Makefile, for "configure" command, LDFLAGS to fix it:

-Wl,-rpath-link,/SDK/local/newlib/lib

cairo-build/Makefile: $(CAIRODIR)/configure
	mkdir -p cairo-build
	rm -rf cairo-build/*
	cd cairo-build && ../$(CAIRODIR)/configure --prefix=/SDK/local/newlib $(HOSTARG) --disable-shared --enable-amigaos --enable-amigaos-font LDFLAGS="-use-dynld -athread=single -Wl,-rpath-link,/SDK/local/newlib/lib" LIBS=-lauto

Perhaps not anything to fix, but if someone else stumbles upon this, the fix above works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.