[EMAIL PROTECTED] wrote:
[]
The GTK version has the big avantage (over the straight X11 version)
of having faster graphics. Under 10.3.x all the former patches that were
needed have been introduced in the official Scilab Makefiles in the Darwin
section. The only remaining problem is on 10.4 (building from source) because
the -lcc_dynamic flag is not needed any more. I have to introduce a switch
in the configure script, and test everything. But I am still under 10.3.9,
and did not have access to a 10.4 machine until now.

It doesn't compile under the latest gcc-4.0 from Xcode-2.1:

gcc -O -DCLUMP_ALLOC -DSTATISTICS -DTIMESTAMPLOG -DSANITY -I../../include -DARCHCLASS=\"DARWIN\" -DIMA_DARWIN -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/rsh\" -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS -DFAKEXDRFLOAT -DSYSERRISCONST -DIMA_MACOSX -I/System/Library/Frameworks/System.framework/Headers/bsd/sys -c ../../src/host.c
In file included from ../../src/host.c:222:
../../src/global.h:324: error: array type has incomplete element type
../../src/global.h:326: error: array type has incomplete element type
make[3]: *** [host.o] Error 1

This is due to new increased anality of the gcc compiler. It now suddenly declares constructions like

extern  struct Pvmtevdid pvmtevdidlist[];

illegal, where struct Pvmtevdid has been declared, but not yet defined. The usual remedy is to move the extern struct... declaration after the definition of struct Pvmtevdid, but it seems to me that this is not easily possible in this case, and since scilab seems to depend quite a bit on this type of forward declarations, it will probably take some time to get fixed. In the meantime, scilab-gtk-3.1.1 will have to be compiled with gcc-3.3.

--
Martin



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to