<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi!<br>
I changed inelegantly the configure script to get a vm-display-fbdev
and...<br>
...came to understand, that there are more issues with Cog + fbdev
(below is the make output).<br>
<br>
Now I wanted to put it in a general question: are there efforts to
maintain the vm-display-fbdev for CogVM? I guess there is little
need for it in general, but in some cases it is nice to have (for
building embedded or tiny systems the linux framebuffer is nice;
sleak, confless).<br>
Can anybody help me? Thanks.<br>
<br>
Cheers!<br>
<br>
<blockquote><tt>/bin/bash
/home/mjz/Squeak/squeakvm/Cog/unixbuild/bld/libtool
--mode=compile gcc -g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG
-DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -DDEBUGVM=0
-msse -DLSB_FIRST=1 -g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG
-DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -DDEBUGVM=0
-msse -DLSB_FIRST=1 -Wall -Werror -DHAVE_CONFIG_H
-I/home/mjz/Squeak/squeakvm/Cog/unixbuild/bld
-I/home/mjz/Squeak/squeakvm/Cog/unixbuild/bld
-I/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm
-I/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/vm
-I/home/mjz/Squeak/squeakvm/Cog/src/vm
-I/home/mjz/Squeak/squeakvm/Cog/unixbuild/bld
-I/home/mjz/Squeak/squeakvm/Cog/unixbuild/bld
-I/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm
-I/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/vm
-I/home/mjz/Squeak/squeakvm/Cog/src/vm
-I/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/plugins/FilePlugin
-I/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/plugins/B3DAcceleratorPlugin
-I/home/mjz/Squeak/squeakvm/Cog/platforms/unix/plugins/B3DAcceleratorPlugin
-c -o sqUnixFBDev.lo
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c<br>
gcc -g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1
-DNO_VM_PROFILE=1 -DCOGMTVM=0 -DDEBUGVM=0 -msse -DLSB_FIRST=1 -g
-O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1
-DNO_VM_PROFILE=1 -DCOGMTVM=0 -DDEBUGVM=0 -msse -DLSB_FIRST=1
-Wall -Werror -DHAVE_CONFIG_H
-I/home/mjz/Squeak/squeakvm/Cog/unixbuild/bld
-I/home/mjz/Squeak/squeakvm/Cog/unixbuild/bld
-I/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm
-I/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/vm
-I/home/mjz/Squeak/squeakvm/Cog/src/vm
-I/home/mjz/Squeak/squeakvm/Cog/unixbuild/bld
-I/home/mjz/Squeak/squeakvm/Cog/unixbuild/bld
-I/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm
-I/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/vm
-I/home/mjz/Squeak/squeakvm/Cog/src/vm
-I/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/plugins/FilePlugin
-I/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/plugins/B3DAcceleratorPlugin
-I/home/mjz/Squeak/squeakvm/Cog/platforms/unix/plugins/B3DAcceleratorPlugin
-c
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c
-fPIC -DPIC -DPIC -o sqUnixFBDev.o<br>
In file included from
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:39:0:<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/vm/sq.h:194:0:
error: ignoring #pragma auto_inline off
[-Werror=unknown-pragmas]<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/Cross/vm/sq.h:196:0:
error: ignoring #pragma auto_inline on [-Werror=unknown-pragmas]<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: initialization from incompatible pointer type [-Werror]<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: (near initialization for 'display_fbdev_itf.winOpen')
[-Werror]<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: 'display_ioPositionOfScreenWorkArea' undeclared here (not
in a function)<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: 'display_ioSizeOfScreenWorkArea' undeclared here (not in
a function)<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: 'display_ioSetCursorPositionXY' undeclared here (not in a
function)<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: 'display_ioGetWindowHandle' undeclared here (not in a
function)<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: 'display_ioPositionOfNativeDisplay' undeclared here (not
in a function)<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: 'display_ioSizeOfNativeDisplay' undeclared here (not in a
function)<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: 'display_ioPositionOfNativeWindow' undeclared here (not
in a function)<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:474:1:
error: 'display_ioSizeOfNativeWindow' undeclared here (not in a
function)<br>
/home/mjz/Squeak/squeakvm/Cog/platforms/unix/vm-display-fbdev/sqUnixFBDev.c:407:14:
error: 'display_dndLaunchFile' defined but not used
[-Werror=unused-function]<br>
cc1: all warnings being treated as errors<br>
<br>
make[1]: *** [sqUnixFBDev.lo] Fehler 1<br>
make: *** [vm-display-fbdev.la] Fehler 2<br>
</tt><br>
</blockquote>
<br>
<br>
Am 29.01.2012 19:31, schrieb Michael J. Zeder:
<blockquote
cite="mid:992DFAF2-35AD-4EE6-ACCB-EB060F42215A@michael-j-zeder.de"
type="cite">
<pre wrap="">hello everbody,
I want to build the CogVM (latest revision from squeakvm.org/svn/branches/Cog),
but with the vm-display-fbdev module (for linux framebuffer device) as default.
Now I am a bit stuck in understanding the make process. Just leaving out the "--without-vm-display-fbdev" as argument to the configure script does not lead to it being included in the compile process.
Also I don't find the exact location in the scripts, where to tell that the vm-display-fbdev should not only be included, but shall also replace the default display-X11-module.
Thanks for your help,
best regards
Michael
</pre>
</blockquote>
<br>
</body>
</html>