<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>(Btw, I find these error messages poor. It should say asLong is not defined in module X, or type T in module X, and give full paths to the two relevant files..meanwhile, my cm3 is outputing user-unfriendly forward slashes on Windows so I could perhaps blow past uninteresting problems oops :) )<BR><BR>
- Jay<BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Mon, 28 Jan 2008 13:25:40 +0100<BR>> From: neels@elego.de<BR>> To: m3devel@elego.de<BR>> Subject: [M3devel] new unknown qualification errors<BR>> <BR>> Hi devel,<BR>> <BR>> I am trying to compile the suplib with the new 5.5.1 snapshot cm3. It <BR>> worked fine with 5.4.0, but now I get errors I cannot figure out how to <BR>> correct:<BR>> <BR>> ===> suplib<BR>> --- building in LINUXLIBC6 ---<BR>> <BR>> new source -> compiling StatBufOffT64.m3<BR>> "../src/StatBufOffT64.m3", line 40: unknown qualification '.' (asLong)<BR>> "../src/StatBufOffT64.m3", line 45: unknown qualification '.' (assignOffT)<BR>> 2 errors encountered<BR>> new source -> compiling Ugzip.m3<BR>> "../src/Ugzip.m3", line 63: unknown qualification '.' (DisableSwitching)<BR>> "../src/Ugzip.m3", line 67: unknown qualification '.' (EnableSwitching)<BR>> "../src/Ugzip.m3", line 74: unknown qualification '.' (DisableSwitching)<BR>> "../src/Ugzip.m3", line 78: unknown qualification '.' (EnableSwitching)<BR>> 4 errors encountered<BR>> new source -> compiling CVTree.m3<BR>> "../src/CVTree.m3", line 315: unknown qualification '.' (DisableSwitching)<BR>> "../src/CVTree.m3", line 319: unknown qualification '.' (EnableSwitching)<BR>> "../src/CVTree.m3", line 325: unknown qualification '.' (DisableSwitching)<BR>> "../src/CVTree.m3", line 329: unknown qualification '.' (EnableSwitching)<BR>> "../src/CVTree.m3", line 335: unknown qualification '.' (DisableSwitching)<BR>> "../src/CVTree.m3", line 339: unknown qualification '.' (EnableSwitching)<BR>> 6 errors encountered<BR>> compilation failed => not building library "libsuplib.a"<BR>> Fatal Error: package build failed<BR>> <BR>> <BR>> I need help with all of these. However, I tried investigating the first <BR>> one: Utypes.asLong()<BR>> <BR>> By coincidence, I saw that in FSPosix.m3, a line saying<BR>> status.size := Utypes.asLong(statBuf.st_size);<BR>> was changed to<BR>> status.size := ORD(statBuf.st_size);<BR>> <BR>> Reading the log for the linux/Utypes.i3 gets me confused. It says how to <BR>> make a off_t from a long, but doesn't say anything about the reverse <BR>> direction. Is ORD(x) always the way to go? Here is the log extract:<BR>> <BR>> revision 1.4<BR>> date: 2007-11-29 03:53:15 +0100; author: hosking; state: Exp; lines: <BR>> +0 -3; commitid: 3xU0vDzVxflBSpHs;<BR>> Remove residual implementations of Utypes.asLong and Utypes.assignOffT.<BR>> ----------------------------<BR>> revision 1.3<BR>> date: 2004-01-30 18:45:34 +0100; author: wagner; state: Exp; lines: <BR>> +1 -0;<BR>> add a procedure to assign values to off_t variables, as they may now be<BR>> structured types, depending on the platform:<BR>> <BR>> PROCEDURE expandAssign(VAR dest: off_t; src: long)<BR>> <BR>> <BR>> Well, where would API changes like these be documented, if I ever need <BR>> to look them up on my own?<BR>> Thanks,<BR>> <BR>> -- <BR>> Neels Janosch Hofmeyr<BR>> Software Developer<BR>> <BR>> neels@elego.de<BR>> Public Key: http://binarchy.net/neels/neels.hofmeyr.public.key.asc<BR>> <BR>> elego Software Solutions GmbH http://www.elegosoft.com<BR>> Gustav-Meyer-Allee 25, Gebäude 12 HRB 77719<BR>> 13355 Berlin, Germany Amtsgericht Charlottenburg<BR>> Tel.: +49 30 23 45 86 96 Sitz der Gesellschaft: Berlin<BR>> Fax: +49 30 23 45 86 95 Geschäftsführer: Olaf Wagner<BR>> <BR>> <BR><BR><br /><hr />Helping your favorite cause is as easy as instant messaging. You IM, we give. <a href='http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join' target='_new'>Learn more.</a></body>
</html>