Some notes... Re: Building linux64 (was [Vm-dev] Squeak stopped
launching: could not find any display driver
Robert Withers
robert.w.withers at gmail.com
Sat Dec 12 21:22:33 UTC 2015
I found cogitARMv5.c is asked to be build as a target in the build/vm
directory's Makefile. I commented this out and reran mvm without
cleaning and got the same error with cogitIA32.c. I commented both out
an dran further. Then I got these errors:
/home/rabbit/warren/cogvm/platforms/unix/vm/sqUnixMain.c: In function
‘reportStackState’:
/home/rabbit/warren/cogvm/platforms/unix/vm/sqUnixMain.c:841:3: error:
#error Currently this VM must be build as a 32-bit binary.
# error Currently this VM must be build as a 32-bit binary.
^
/home/rabbit/warren/cogvm/platforms/unix/vm/sqUnixMain.c:842:3: error:
#error See section 3e in unixbuild/HowToBuild.
# error See section 3e in unixbuild/HowToBuild.
^
/home/rabbit/warren/cogvm/platforms/unix/vm/sqUnixMain.c:848:4: warning:
implicit declaration of function ‘ifValidWriteBackStackPointersSaveTo’
[-Wimplicit-function-declaration]
ifValidWriteBackStackPointersSaveTo(fp,sp,&savedFP,&savedSP);
^
/home/rabbit/warren/cogvm/platforms/unix/vm/sqUnixMain.c:848:40: error:
‘fp’ undeclared (first use in this function)
ifValidWriteBackStackPointersSaveTo(fp,sp,&savedFP,&savedSP);
^
/home/rabbit/warren/cogvm/platforms/unix/vm/sqUnixMain.c:848:40: note:
each undeclared identifier is reported only once for each function it
appears in
/home/rabbit/warren/cogvm/platforms/unix/vm/sqUnixMain.c:848:43: error:
‘sp’ undeclared (first use in this function)
ifValidWriteBackStackPointersSaveTo(fp,sp,&savedFP,&savedSP);
Regards, ^
Robert
On 12/12/2015 04:03 PM, Robert Withers wrote:
> To finish the story, I did a sudo apt-get update && sudo apt-get upgrade
>
> Afterwards I have to reinstall libgl-mesa.
>
>
> In 64-bit news, I caught this error. Is it building for ARM?
>
> make[1]: *** No rule to make target
> '/home/rabbit/warren/cogvm/spur64src/vm/cogitARMv5.c', needed by
> 'cogit.o'. Stop.
> Makefile:411: recipe for target 'vm/vm.a' failed
> make: *** [vm/vm.a] Error 2
>
>
> Robert
>
> On 12/12/2015 03:37 PM, Robert Withers wrote:
>> Please disregard to X11 issue. I had to apt-get libX11-dev:i386 and
>> libxext-dev:i386 and it compiles and works. Oops, I can now build
>> but no a display driver problem again. I'll keep digging.
>>
>>
>> I started trying to compile linux64x64 and ran into an issue. The
>> compiler option -V fails. In the unix/config/configure script,
>> comment out the below:
>>
>>
>> # { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
>> # (eval $ac_compiler -V </dev/null >&5) 2>&5
>> # ac_status=$?
>> # echo "$as_me:$LINENO: \$? = $ac_status" >&5
>> # (exit $ac_status); }
>>
>> Best,
>> Robert
>>
>> On 12/12/2015 02:57 PM, Robert Withers wrote:
>>> Thank you for that link, Karl. I have all installed, it was missing
>>> the vm-display-X11...it did not build. I used the vm-display-X11
>>> from cogspurlinuxht and it is working. I rebuilt and I found the
>>> following in conf:
>>>
>>> checking for XOpenDisplay in -lX11... no
>>> ******** disabling vm-display-X11
>>>
>>> I also can't open gedit. I had just done a apt-get update and
>>> upgrade, so perhaps there caused the issue; it didn't upgrade
>>> acceptably. I was going to start on a composite crypto plugin.
>>>
>>> Best regards,
>>> Robert
>>>
>>> On 12/12/2015 02:33 PM, karl ramberg wrote:
>>>>
>>>>
>>>>
>>>> Ubuntu thread here:
>>>>
>>>> http://forum.world.st/Minimum-32-bit-libs-for-Ubuntu-td4843628.html
>>>>
>>>> Best,
>>>> Karl
>>>>
>>>> On Sat, Dec 12, 2015 at 8:29 PM, Robert Withers
>>>> <robert.w.withers at gmail.com> wrote:
>>>>
>>>>
>>>> It was just working before I successfully build the vm just
>>>> now. Then the vm I build and installed fails as does the
>>>> original cogspurlinuxht below. I appreciate any help.
>>>>
>>>> Robert
>>>>
>>>>
>>>> rabbit at harehole:~/warren/cogvm/image$ cogspurlinuxht/squeak
>>>> SpurVMMaker.image
>>>> squeak: could not find any display driver
>>>> Aborted (core dumped)
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20151212/c38497da/attachment.htm
More information about the Vm-dev
mailing list