From bc_tucker at sympatico.ca  Tue Jun 10 14:28:35 2003
From: bc_tucker at sympatico.ca (Brian Tucker)
Date: Tue Jun 10 23:29:47 2003
Subject: [Rd] R-1.7.0 build fails on OpenBSD 3.3
Message-ID: <20030610132835.2cb49bb5.bc_tucker@sympatico.ca>


R-1.7.0 failed to build on OpenBSD 3.3 GENERIC i386 CDROM release:

Machine: Intel Pen4 (2.4 GHz)
gcc: gcc-2.95 

making Lapack.d from Lapack.c
g77 -mieee-fp -fPIC  -g -O2 -c dlapack0.f -o dlapack0.lo
g77 -mieee-fp -fPIC  -g -O2 -c dlapack1.f -o dlapack1.lo
g77 -mieee-fp -fPIC  -g -O2 -c dlapack2.f -o dlapack2.lo
g77 -mieee-fp -fPIC  -g -O2 -c dlapack3.f -o dlapack3.lo
g77 -mieee-fp -fPIC  -g -O2 -c cmplx.f -o cmplx.lo
g77 -mieee-fp -fPIC  -g -O2 -c cmplxblas.f -o cmplxblas.lo
gcc -shared -L/usr/local/lib -o libRlapack.so dlapack0.lo dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo cmplxblas.lo  -L/usr/lib/debug -L/usr/local/lib -L/usr/lib/gcc-lib/i386-unknown-openbsd3.3/2.95.3 -lfrtbegin -lg2c -lm
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -mieee-fp -fPIC  -g -O2 -c Lapack.c -o Lapack.lo
g77 -mieee-fp -fPIC  -g -O2 -c rgeev.f -o rgeev.lo
g77 -mieee-fp -fPIC  -g -O2 -c rsyev.f -o rsyev.lo
gcc -shared -L/usr/local/lib -o lapack.so  Lapack.lo rgeev.lo rsyev.lo  -L../../../bin -lRlapack  -L/usr/lib/debug -L/usr/local/lib -L/usr/lib/gcc-lib/i386-unknown-openbsd3.3/2.95.3 -lfrtbegin -lg2c -lm -lpcre -lbz2 -lz -lreadline -lncurses -lm
ld: -lRlapack: no match
collect2: ld returned 1 exit status
*** Error code 1

Stop in /home/btucker/Rsources/R-1.7.0/src/modules/lapack (line 69 of Makefile).
*** Error code 1

Stop in /home/btucker/Rsources/R-1.7.0/src/modules/lapack (line 64 of Makefile).
*** Error code 1

Stop in /home/btucker/Rsources/R-1.7.0/src/modules (line 28 of Makefile).
*** Error code 1

Stop in /home/btucker/Rsources/R-1.7.0/src (line 29 of Makefile).
*** Error code 1

Stop in /home/btucker/Rsources/R-1.7.0 (line 62 of Makefile).



The same error was reported on OpenBSD 3.2 with a newer compiler:

http://maths.newcastle.edu.au/~rking/R/devel/03a/0686.html

but I though to report for 3.3 cdrom release.



Brian C. Tucker
Biocomplexity Monitoring Laboratory
Biology Department
Laurentian University
Sudbury, ON, Canada


[Rd] R-1.7.0 build fails on OpenBSD 3.3
Brian Tucker