From jmacdon at med.umich.edu  Tue Feb  6 19:26:42 2007
From: jmacdon at med.umich.edu (James MacDonald)
Date: Tue, 06 Feb 2007 13:26:42 -0500
Subject: [Rd] R from SVN fails to build on win32
Message-ID: <45C881AF.47B0.00EE.0@med.umich.edu>

I get the following error when building R from the subversion server as
well as the latest tarball. I am on Windows XP, and I recently updated
my MinGW installation. It's quite possible I am doing something wrong,
but I am not sure what that might be.

making console.d from console.c
making dataentry.d from dataentry.c
making dynload.d from dynload.c
making edit.d from edit.c
making editor.d from editor.c
making embeddedR.d from embeddedR.c
making extra.d from extra.c
making opt.d from opt.c
making pager.d from pager.c
making preferences.d from preferences.c
making psignal.d from psignal.c
making rhome.d from rhome.c
making rui.d from rui.c
making run.d from run.c
making shext.d from shext.c
making sys-win32.d from sys-win32.c
making system.d from system.c
making dos_glob.d from dos_glob.c
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c console.c -o console.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c dataentry.c -o dataentry.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c dynload.c -o dynload.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c edit.c -o edit.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c editor.c -o editor.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c embeddedR.c -o embeddedR.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD -DLEA_MALLOC -c extra.c -o extra.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c opt.c -o opt.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c pager.c -o pager.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c preferences.c -o preferences.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c psignal.c -o psignal.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c rhome.c -o rhome.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c rui.c -o rui.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c run.c -o run.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c shext.c -o shext.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c sys-win32.c -o sys-win32.o
sys-win32.c: In function `do_system': sys-win32.c:183: warning: `hERR'
might be used uninitialized in this function gcc  -O3 -Wall -pedantic
-std=gnu99 -I../include -I. -DHAVE_CONFIG_H -DR_DLL_BUILD  -c system.c
-o system.o
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c dos_glob.c -o dos_glob.o
gcc     -c -o e_pow.o e_pow.S
gcc  -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H
-DR_DLL_BUILD  -c malloc.c -o malloc.o
windres  -I ../include -i dllversion.rc -o dllversion.o
c:\MinGW\bin\windres.exe: unknown format type `../include'
c:\MinGW\bin\windres.exe: supported formats: rc res coff make[3]: ***
[dllversion.o] Error 1
make[2]: *** [../../bin/R.dll] Error 2
make[1]: *** [rbuild] Error 2
make: *** [all] Error 2


Best,

Jim



James W. MacDonald, M.S.
Biostatistician
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623


**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.



[Rd] R from SVN fails to build on win32
James MacDonald