On 27 Jun 2002, Niels [iso-8859-1] Möller wrote:
> Looks like problems with the system include files or the gcc > installation. What do the corresponding lines look like? I don't > really know how gcc's fixincludes work (if it's still used), but it's > supposed to replace broken include files with fixed include files > somewhere under lib/gcc-lib. Perhaps you're using a gcc that was > compiled and installed for a previous version of Solaris, or something > like that? > > Can you compile a test program like > > #include <stddef.h> > #include <stdio.h> > #include <stdlib.h> > int main(int argc, char **argv) { printf("foo"); return EXIT_SUCCESS; } Compiled and ran without error with gcc 2.95.3. I tried to build LSH on another Solaris system running gcc 2.95.3 and it built ok. However, lsh-key-gen drops core on this system with a bus error. Does LSH use /dev/random on Solaris if it's available? > I'm occasinally compiling lsh using gcc-2.95.3 on Solaris 8 (aka SunOS > 5.8), and I haven't seen this problem. I'll try again with the current > version, but it will take a while. Maybe I'll try building with Forte or GCC 3.1 a bit later. Thanks, -Brian