meteficha / Hipmunk

Haskell binding for Chipmunk, 2D physics engine.
Other
22 stars 11 forks source link

-r and -pie may not be used together #14

Open Mailaender opened 4 months ago

Mailaender commented 4 months ago
Running: runhaskell Setup configure --prefix=${FLATPAK_DEST}
Configuring Hipmunk-5.2.0.17...
Running: runhaskell Setup build
Building Hipmunk-5.2.0.17...
Preprocessing library Hipmunk-5.2.0.17...
[1 of 9] Compiling Physics.Hipmunk.Common ( dist/build/Physics/Hipmunk/Common.hs, dist/build/Physics/Hipmunk/Common.o )
[2 of 9] Compiling Physics.Hipmunk.Internal ( dist/build/Physics/Hipmunk/Internal.hs, dist/build/Physics/Hipmunk/Internal.o )
[3 of 9] Compiling Physics.Hipmunk.Body ( dist/build/Physics/Hipmunk/Body.hs, dist/build/Physics/Hipmunk/Body.o )
[4 of 9] Compiling Physics.Hipmunk.Shape ( dist/build/Physics/Hipmunk/Shape.hs, dist/build/Physics/Hipmunk/Shape.o )
[5 of 9] Compiling Physics.Hipmunk.Constraint ( dist/build/Physics/Hipmunk/Constraint.hs, dist/build/Physics/Hipmunk/Constraint.o )
[6 of 9] Compiling Physics.Hipmunk.Space ( dist/build/Physics/Hipmunk/Space.hs, dist/build/Physics/Hipmunk/Space.o )

Physics/Hipmunk/Space.hsc:206:10: Warning:
    Orphan instance: instance Entity Body
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.

Physics/Hipmunk/Space.hsc:215:10: Warning:
    Orphan instance: instance Entity Shape
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.

Physics/Hipmunk/Space.hsc:225:10: Warning:
    Orphan instance: instance Entity (Constraint a)
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.
/usr/lib/gcc/x86_64-unknown-linux-gnu/9.3.0/../../../../x86_64-unknown-linux-gnu/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status