Hi,
   I have problems trying to compile the release 
   version of 4.18 gdb using gcc 2.95.2

   It looks that I have wrong /usr/include files on  a SUN.
   How can I find a CORRECT set of /usr/include files
   which would allow me to compile gdb 4.18 succesfully,
                      Regards,
                      Julian

   P.S the example of the compilation error is shown below
       I can fix one below by adding some include files
       but then other problems show up and it goes for ever

   -rwxr-xr-x   2 dar      user      167059 Apr 10 21:28 
/emc/dar/tools/target/sparc-sunos-5.5.1/bin/gcc
lns0229% /emc/dar/tools/target/sparc-sunos-5.5.1/bin/gcc -v
Reading specs from 
/emc/dar/tools/target/sparc-sunos-5.5.1/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/specs
gcc version 2.95.2 19991024 (release)
---> the example of the compilation error
/emc/dar/tools/target/sparc-sunos-5.5.1/bin/gcc -c -DHAVE_CONFIG_H   -I. 
-I../../gdb-4.18/readline -I/usr/local/include -DRL_LIBRARY_VERSION='"2.2"' -g -O2 
../../gdb-4.18/readline/rltty.c
In file included from ../../gdb-4.18/readline/rlwinsize.h:48,
                 from ../../gdb-4.18/readline/rltty.h:45,
                 from ../../gdb-4.18/readline/rltty.c:44:
/usr/include/sys/ptem.h:37: parse error before `mblk_t'
/usr/include/sys/ptem.h:37: warning: no semicolon at end of struct or union
/usr/include/sys/ptem.h:38: warning: data definition has no type or storage class
/usr/include/sys/ptem.h:41: parse error before `}'
make[1]: *** [rltty.o] Error 1
make[1]: Leaving directory `/emc/jmielnic/gdb/release/gdb-build/readline'
make: *** [all-readline] Error 2

Reply via email to