[Vm-dev] Unix VM fail on make install

Andrew Gaylard ag at computer.org
Thu Oct 11 06:32:14 UTC 2007


On 10/10/07, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
>
>
> On Oct 10, 2007, at 18:06 , José L. Redrejo Rodríguez wrote:
>
> > El mié, 10-10-2007 a las 17:44 +0200, Damien Cassou escribió:
> >>  Hi,
> >>
> >> using the sources from svn, the 'make install' step fails:
> >>
> >> gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -g -O2
> >> -fomit-frame-pointer -DLSB_FIRST=1 -Wall -Werror -DHAVE_CONFIG_H
> >> -I/tmp/squeak-svn/bld -I/tmp/squeak-svn/platforms/unix/vm
> >> -I/tmp/squeak-svn/platforms/Cross/vm
> >> -I/tmp/squeak-svn/platforms/unix/src/vm -I/tmp/squeak-svn/bld
> >> -I/tmp/squeak-svn/platforms/unix/vm
> >> -I/tmp/squeak-svn/platforms/Cross/vm
> >> -I/tmp/squeak-svn/platforms/unix/src/vm
> >> -I/tmp/squeak-svn/platforms/Cross/plugins/FilePlugin
> >> -I/tmp/squeak-svn/platforms/Cross/plugins/B3DAcceleratorPlugin
> >> -I/tmp/squeak-svn/platforms/unix/plugins/B3DAcceleratorPlugin -c
> >> /tmp/squeak-svn/platforms/unix/vm-display-fbdev/sqUnixFBDev.c  -fPIC
> >> -DPIC -DPIC -o sqUnixFBDev.o
> >> cc1: warnings being treated as errors
> >> /tmp/squeak-svn/platforms/unix/vm/sqUnixEvent.c:219: warning:
> >> 'recordWindowEvent' defined but not used
> >> make[1]: *** [sqUnixFBDev.lo] Erreur 1
> >> make: *** [vm-display-fbdev.la] Erreur 2
>

This raises the question: shouldn't we take warnings more seriously?

I think that it's perfectly reasonable to have -Werror in SVN, and
just leave it off in the release tarballs.  If you're building from SVN,
you should be smart enough to fix any warnings that appear on your
platform, or turn off the switch.  People who can't do that should
perhaps limit themselves to the "safer" release tarballs.

Warnings are there for a reason; let's not kill the messenger.

Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20071011/543039e3/attachment.htm


More information about the Vm-dev mailing list