[Vm-dev] Something wrong while compiling VM

Eliot Miranda eliot.miranda at gmail.com
Thu Dec 10 23:42:40 UTC 2009


Casimiro,

    don't know if this is news to you but you can use -P or -E as arguments
to the compiler to get it to write the pre-processed output to either foo.i
(-P) or stdout (-E).  Then you can find out which include files are pulled
in, etc, and get more info on the problem.

HTH
Eliot

On Thu, Dec 10, 2009 at 2:11 PM, Casimiro de Almeida Barreto <
casimiro.barreto at gmail.com> wrote:

>
> Em 10-12-2009 16:47, David T. Lewis escreveu:
>
>>
>> On Thu, Dec 10, 2009 at 12:10:27PM -0200, Casimiro de Almeida Barreto
>> wrote:
>>
>>
>>> Hello,
>>>
>>> Today I was preparing a new VM from svn sources (trunk) but then, the
>>> following happened:
>>>
>>> gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -DHAVE_CONFIG_H
>>> -DSQUEAK_BUILTIN_PLUGIN
>>> -I/home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/bld
>>> -I/home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/vm
>>> -I/home/casimiro/Softwares/squeak/squeak-svn/platforms/Cross/vm
>>> -I/home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm -c -o
>>> ADPCMCodecPlugin.o
>>>
>>> /home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c
>>>
>>> /home/casimiro/Softwares/squeak/squeak-svn/platforms/unix/src/vm/intplugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c:72:
>>> error: expected declaration specifiers or ?...? before ?*? token
>>>
>>>
>> Are you are using the new ../platforms/unix/cmake/configure script rather
>> than ../platforms/unix/config/configure? If you use the old configure
>> script
>> you will get lots of entertaining error messages.
>>
>> Dave
>>
>>
>>
>>
>>
> Ok,
>
> I tried with the cmake but still have problems with sqInt being
> redefined...
>
> Best regards,
>
> CdAB
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20091210/209b38c7/attachment.htm


More information about the Vm-dev mailing list