[Vm-dev] re: building the vm on linux - setting up tools

Robert Withers robert.w.withers at gmail.com
Mon Oct 12 09:15:40 UTC 2015


Hi Craig,

Thanks for your help to get past that one. I was able to load uuid-dev 
through the Ubuntu app and I compiled past that point.

I got to linking sqUnixFBDev.lo and hit this warning as error issue. I 
read somewhere about it but my research turned up nothing on it. 
Something to do with -O2, perhaps, or -Werror [-Werror=unused-value]? 
I'm not sure where to control these flags so I got stuck again.

I appreciate your help.

- Robert

    In file included from
    /home/robert/warren/oscog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:43:0:
    /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c: In
    function 'display_ioGetNextEvent':
    /home/robert/warren/oscog/platforms/Cross/vm/sq.h:521:31: error:
    statement with no effect [-Werror=unused-value]
      # define LogEventChain(parms) 0
                                    ^
    /home/robert/warren/oscog/platforms/unix/vm/sqUnixEvent.c:269:3:
    note: in expansion of macro 'LogEventChain'
        LogEventChain((dbgEvtChF,"ioGNE%s",iebEmptyP()?"_":"!\n"));
        ^
    cc1: all warnings being treated as errors
    Makefile:195: recipe for target 'sqUnixFBDev.lo' failed
    make[1]: *** [sqUnixFBDev.lo] Error 1
    Makefile:519: recipe for target 'vm-display-fbdev.la' failed
    make: *** [vm-display-fbdev.la] Error 2




On 10/12/2015 03:27 AM, Craig Latta wrote:
>   
>
> Hoi Robert--
>
>       I don't think you need ia32-libs anymore, since you can now just
> ask for the :i386 version of arbitrary packages.
>
>> /usr/bin/ld: cannot find -luuid
>       I think you want package uuid-dev for that one. I find 'apt-cache
> search <asset name fragment>' to be the most useful way of finding which
> package provides an asset.
>
>
> -C
>
> --
> Craig Latta
> netjam.org
> +31   6 2757 7177 (SMS ok)
> + 1 415  287 3547 (no SMS)
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20151012/377e62b6/attachment.htm


More information about the Vm-dev mailing list