Hi to all Ptolemy hackers.

I apologize in advance 'cause I feel like I'm asking a FAQ, but here
is my problem: I'm now using the binary distribution of Ptolemy 0.7.1
on Solaris 2.5, and I tried to use the compiler bundled with it to
create new stars. As it didn't work (BTW, I tried [and failed] to
build Ptolemy from src distribution because of this problem), I
started testing the compiler as explained in the Appendix A of the
ptolemy user's guide:

#include <stream.h>

main()
{
    cout << "Hello, Ptolemy.\n" ;
}

The compiler builds this code correctly, so I think env, include paths,
etc. are ok. As I had problems with "stdio.h", I wrote a very simple
test code to test wether "stdio.h" inclusions work:

#include <stdio.h>

main()
{
    printf( "Hello, Ptolemy.\n" ) ;
}

[58] : gcc -v -H foo.c -o foo
Reading specs from
/labim1.a/application/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)

/labim1.a/application/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/cpp
-lang-c -v -iprefix
/labim1.a/application/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/sparc-sun-solaris2.5.1/egcs-2.90.27/
-undef -D__GNUC__=2 -D__GNUC_MINOR__=90 -Dsparc -Dsun -Dunix -D__svr4__
-D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc
-D__sun -D__unix -Asystem(unix) -Asystem(svr4) -H -D__GCC_NEW_VARARGS__
-Acpu(sparc) -Amachine(sparc) foo.c /var/tmp/cca003Ao.i
GNU CPP version egcs-2.90.27 980315 (egcs-1.0.2 release) (sparc)
#include "..." search starts here:
#include <...> search starts here:

/labim1.a/application/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/include
 /usr/local/include
 /usr/include
End of search list.
/labim1.a/application/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/include/stdio.h
 /usr/include/sys/feature_tests.h
In file included from foo.c:1:
/labim1.a/application/ptolemy/gnu/sol2.5/lib/gcc-lib/sol2.5/egcs-2.90.27/include/stdio.h:18:
sys/va_list.h: No such file or directory

[$PTOLEMY is /labim1.a/application/ptolemy]

stdio.h needs sys/va_list.h, but I am unable to find such a file on my
system.

Thanks,

Raphael Berbain - [EMAIL PROTECTED]

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to