HP-UX Compilation
"Kamlesh Kumar" <[email protected]> Fri, 29 Mar 2002 17:20:42 -0700
| Newsgroups | gmane.comp.gnu.gnucap.bugs |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C1D746.0DA9D100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I compiled gnucap source code on HP-UX machine successfully. I alway find compilation error in src/e_storag.cc at line 192 where it complains about max(INT, DOUBLE) not being defined. I fixed it by typecasting first argument to double. Then it build successfully. But at run time it does not give right output. If under examples directory, if I run the command '../src/O/gnucap -O eq-145.ckt' then the first part of output comes correctly. But in the second part of output all values are printed as "0." which shows some serious run time error. If anybody has used the tool on HP-UX, then please help me. Regards, Kamlesh ------=_NextPart_000_0004_01C1D746.0DA9D100 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Dwindows-1252" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2013.1310" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3Dhelvetica size=3D2>Hi,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3Dhelvetica size=3D2>I compiled gnucap source code on = HP-UX machine=20 successfully.</FONT></DIV> <DIV><FONT face=3Dhelvetica size=3D2>I alway find compilation error in=20 src/e_storag.cc at line 192 where</FONT></DIV> <DIV><FONT face=3Dhelvetica size=3D2>it complains about max(INT, DOUBLE) = not being=20 defined. I fixed it</FONT></DIV> <DIV><FONT face=3Dhelvetica size=3D2>by typecasting first argument to = double. Then=20 it build successfully.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3Dhelvetica size=3D2>But at run time it does not give = right=20 output.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3Dhelvetica size=3D2>If under examples directory, if I = run the=20 command</FONT></DIV> <DIV><FONT face=3Dhelvetica size=3D2>'../src/O/gnucap -O eq-145.ckt' = then the first=20 part</FONT></DIV> <DIV><FONT face=3Dhelvetica size=3D2>of output comes correctly. But in = the second=20 part</FONT></DIV> <DIV><FONT face=3Dhelvetica size=3D2>of output all values are printed as = "0." which=20 shows</FONT></DIV> <DIV><FONT face=3Dhelvetica size=3D2>some serious run time = error.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3Dhelvetica size=3D2>If anybody has used the tool on = HP-UX, then=20 please</FONT></DIV> <DIV><FONT face=3Dhelvetica size=3D2>help me.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3Dhelvetica size=3D2>Regards,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3Dhelvetica size=3D2>Kamlesh</FONT></DIV></BODY></HTML> ------=_NextPart_000_0004_01C1D746.0DA9D100--