Skip to content

Update makefile.linux - #12

Open
lilith wants to merge 1 commit into
hoelzro:masterfrom
lilith:patch-1
Open

Update makefile.linux#12
lilith wants to merge 1 commit into
hoelzro:masterfrom
lilith:patch-1

Conversation

@lilith

@lilith lilith commented Dec 29, 2013

Copy link
Copy Markdown

GCC broke compatibility by changing the default linking behavior to --as-needed. We have to switch it back or math breaks.

cc -g3 -Wall -Wconversion -ansi -pedantic   -c -o pptest.o pptest.c
pptest.c: In function 'LUAF_boxboolean':
pptest.c:41:22: warning: conversion to 'char' from 'int' may alter its value [-Wconversion]
cc -rdynamic -o pptest pptest.o -lm -ldl -llua
/usr/local/lib/liblua.a(lvm.o): In function `Arith':
lvm.c:(.text+0x485): undefined reference to `pow'
lvm.c:(.text+0x4b4): undefined reference to `floor'
/usr/local/lib/liblua.a(lvm.o): In function `luaV_execute':
lvm.c:(.text+0x22f1): undefined reference to `floor'
lvm.c:(.text+0x240e): undefined reference to `pow'

like so.

GCC broke compatibility by changing the default linking behavior to --as-needed. We have to switch it back or math breaks.
@hoelzro

hoelzro commented Dec 29, 2013

Copy link
Copy Markdown
Owner

Hi Nathanael,

I am no longer maintainer of the Pluto project. All fixes should be directed to Stefan Reich.

@lilith

lilith commented Jan 5, 2014

Copy link
Copy Markdown
Author

I wasn't able to find his fork of the repo. Could you share the URL?

@hoelzro

hoelzro commented Jan 5, 2014

Copy link
Copy Markdown
Owner

I don't know if he even has a GitHub account, and his site is down. You can try searching the Lua mailing list to find his e-mail address...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants