[Lcdproc] hmmm, compile for OS X
Russell Jones
spam@codeofficer.com
Fri Dec 1 03:00:02 2006
--Apple-Mail-11--196356286
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
Of course I spoke too soon, while the configure runs without error
now, the make fails with this:
make all-recursive
Making all in shared
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O3 -Wno-unused-
function -MT LL.o -MD -MP -MF ".deps/LL.Tpo" \
-c -o LL.o `test -f 'LL.c' || echo './'`LL.c; \
then mv -f ".deps/LL.Tpo" ".deps/LL.Po"; \
else rm -f ".deps/LL.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O3 -Wno-unused-
function -MT sockets.o -MD -MP -MF ".deps/sockets.Tpo" \
-c -o sockets.o `test -f 'sockets.c' || echo './'`sockets.c; \
then mv -f ".deps/sockets.Tpo" ".deps/sockets.Po"; \
else rm -f ".deps/sockets.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O3 -Wno-unused-
function -MT str.o -MD -MP -MF ".deps/str.Tpo" \
-c -o str.o `test -f 'str.c' || echo './'`str.c; \
then mv -f ".deps/str.Tpo" ".deps/str.Po"; \
else rm -f ".deps/str.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Wall -O3 -Wno-unused-
function -MT configfile.o -MD -MP -MF ".deps/configfile.Tpo" \
-c -o configfile.o `test -f 'configfile.c' || echo
'./'`configfile.c; \
then mv -f ".deps/configfile.Tpo" ".deps/configfile.Po"; \
else rm -f ".deps/configfile.Tpo"; exit 1; \
fi
configfile.c: In function 'config_read_string':
configfile.c:139: error: nested functions are disabled, use -fnested-
functions to re-enable
make[2]: *** [configfile.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
... back to that nested-functions error, is there an easy way for a
noobie such as I to correct this? Can I add this line to the Makefile?
CFLAGS = -Wall -O3 -Wno-unused-function
-Russ
On Nov 30, 2006, at 5:47 PM, Robert Buchholz wrote:
> Hi again Russel,
>
>
> Am 30.11.2006 um 23:31 schrieb Russell Jones:
>
>> I've tried specifying curses and configure no longer complains
>> about that driver, instead i get a complaint about the cfontz
>> driver as such:
>>
>> configure: error: Unknown driver cfontz
>
> Please look at the "configure --help" output on how the names of
> the drivers are and mind their case. Choose one of these for
> cfontz: CFontz CFontz633 CFontzPacket
>
>
>> I'm also a little unsure how to "patch the code" as you mentioned
>> so as not to use nested functions.
>
> That was not so much meant for you (try adding the CFLAG), but for
> Peter and all the other coders :-)
>
> Bye,
>
> Robert
--Apple-Mail-11--196356286
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV>Of course I spoke too soon, =
while the configure runs without error now, the make fails with =
this:</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV><B>make=A0=
all-recursive</B></DIV><DIV><B>Making all in shared</B></DIV><DIV><B>if =
gcc -DHAVE_CONFIG_H -I. -I. -I..=A0 -I..=A0=A0 -Wall=A0 -O3 =
-Wno-unused-function -MT LL.o -MD -MP -MF ".deps/LL.Tpo" =
\</B></DIV><DIV><B>=A0 -c -o LL.o `test -f 'LL.c' || echo './'`LL.c; =
\</B></DIV><DIV><B>then mv -f ".deps/LL.Tpo" ".deps/LL.Po"; =
\</B></DIV><DIV><B>else rm -f ".deps/LL.Tpo"; exit 1; =
\</B></DIV><DIV><B>fi</B></DIV><DIV><B>if gcc -DHAVE_CONFIG_H -I. -I. =
-I..=A0 -I..=A0=A0 -Wall=A0 -O3 -Wno-unused-function -MT sockets.o -MD =
-MP -MF ".deps/sockets.Tpo" \</B></DIV><DIV><B>=A0 -c -o sockets.o `test =
-f 'sockets.c' || echo './'`sockets.c; \</B></DIV><DIV><B>then mv -f =
".deps/sockets.Tpo" ".deps/sockets.Po"; \</B></DIV><DIV><B>else rm -f =
".deps/sockets.Tpo"; exit 1; \</B></DIV><DIV><B>fi</B></DIV><DIV><B>if =
gcc -DHAVE_CONFIG_H -I. -I. -I..=A0 -I..=A0=A0 -Wall=A0 -O3 =
-Wno-unused-function -MT str.o -MD -MP -MF ".deps/str.Tpo" =
\</B></DIV><DIV><B>=A0 -c -o str.o `test -f 'str.c' || echo './'`str.c; =
\</B></DIV><DIV><B>then mv -f ".deps/str.Tpo" ".deps/str.Po"; =
\</B></DIV><DIV><B>else rm -f ".deps/str.Tpo"; exit 1; =
\</B></DIV><DIV><B>fi</B></DIV><DIV><B>if gcc -DHAVE_CONFIG_H -I. -I. =
-I..=A0 -I..=A0=A0 -Wall=A0 -O3 -Wno-unused-function -MT configfile.o =
-MD -MP -MF ".deps/configfile.Tpo" \</B></DIV><DIV><B>=A0 -c -o =
configfile.o `test -f 'configfile.c' || echo './'`configfile.c; =
\</B></DIV><DIV><B>then mv -f ".deps/configfile.Tpo" =
".deps/configfile.Po"; \</B></DIV><DIV><B>else rm -f =
".deps/configfile.Tpo"; exit 1; =
\</B></DIV><DIV><B>fi</B></DIV><DIV><B>configfile.c: In function =
'config_read_string':</B></DIV><DIV><B>configfile.c:139: error: nested =
functions are disabled, use -fnested-functions to =
re-enable</B></DIV><DIV><B>make[2]: *** [configfile.o] Error =
1</B></DIV><DIV><B>make[1]: *** [all-recursive] Error =
1</B></DIV><DIV><B>make: *** [all] Error 2</B></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>... back to that =
nested-functions error, is there an easy way for a noobie such as I to =
correct this? Can I add this line to the Makefile?</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><B>CFLAGS =3D -Wall=A0 -O3 =
-Wno-unused-function</B></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>-Russ</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><BR><DIV><DIV>On Nov 30, 2006, =
at 5:47 PM, Robert Buchholz wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Hi again Russel,</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Am 30.11.2006 um 23:31 schrieb Russell =
Jones:</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> =
<BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">I've tried specifying =
curses and configure no longer complains about that driver, instead i =
get a complaint about the cfontz driver as such:</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">configure: error: Unknown driver cfontz</DIV> </BLOCKQUOTE><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please =
look at the "configure --help" output on how the names of the drivers =
are and mind their case. Choose one of these for cfontz: CFontz =
CFontz633 CFontzPacket</DIV><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> =
<BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; ">I'm also a little unsure =
how to "patch the code" as you mentioned so as not to use nested =
functions.</DIV> </BLOCKQUOTE><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">That was not so much meant for =
you (try adding the CFLAG), but for Peter and all the other coders =
:-)</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">Bye,</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; =
">Robert</DIV></BLOCKQUOTE></DIV></BODY></HTML>=
--Apple-Mail-11--196356286--