[BUG]? Compiling on linux sparc64

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[BUG]? Compiling on linux sparc64

Damien Pollet
Hi,

Last night I tried to build 3.8a-1on linux Ubuntu Dapper on an Sun
Ultra5. I had to make a small change in
plugins/SerialPlugin/sqUnixSerial.c to make the build work... not sure
if it's a problem with my setup or an actual bug.

There was nothing above B2000000 defined in <bits/termios.h>, so here
is the change I made:

--- platforms/unix/plugins/SerialPlugin/sqUnixSerial.c  2006-03-21
08:39:36.000000000 +0100
+++ /home/cdlm/tmp/Squeak-3.8a-1/platforms/unix/plugins/SerialPlugin/sqUnixSerial.c
    2006-03-21 11:20:03.000000000 +0100
@@ -95,6 +95,8 @@
        { 1152000, B1152000 },
        { 1500000, B1500000 },
        { 2000000, B2000000 },
+#       endif
+#       if defined(B2500000)    /* missing on Ubuntu Dapper,
2.6.15-19-sparc64 */
        { 2500000, B2500000 },
        { 3000000, B3000000 },
        { 3500000, B3500000 },

--
 Damien
 type less, do more