I am installing SPLASH(http://www-flash.stanford.edu/SPLASH/) benchmark codes on CentOS 4.6. And there is compile error during make..
Here is the error messages.*Does it come from the gcc*library?* Should I update the gcc or other library?
*
[root@localhost barnes]# make BARNES
make: Warning: File `code.C' has modification time 6e+02 s in the future
m4 -s -Ulen -Uindex /mnt/hgfs/CentOS-4.6-i386_Shared/splash2/codes/null_macros/c.m4.null code.C > code.c
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [BARNES] Error 1
*
FYI,*here is the*gcc version info.
[root@localhost barnes]# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)
*
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos