bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem: compiling gcc v3.1.5 with Mingw on win32


From: Volker Kiefel
Subject: Problem: compiling gcc v3.1.5 with Mingw on win32
Date: Sun, 11 Sep 2005 21:11:02 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728

Hello,

I am grateful user of gawk on win32 for many years. Since
version 3.1.1 I have compiled gawk with the mingw
implementation of the gcc without any problems. However,
all my attempts to compile gcc v3.1.5 with mingw failed
with the following error messages:

----------------------------------------------------------
$ make mingw32
make  all \
CC=gcc O=.o CF=-O OBJ=popen.o \
LNK=LMINGW32 PLNK=PLMINGW32 LF=-s RSP=
make[1]: Entering directory `/c/versuch/gawk-3.1.5'
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  array.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  builtin.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  eval.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  field.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  gawkmisc.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  io.c
io.c: In function `gawk_popen':
io.c:2179: warning: passing arg 1 of `os_popen' discards qualifiers from pointer target type
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  main.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  ext.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  msg.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  node.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  profile.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  re.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  version.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  awkgram.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  getid.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  popen.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  getopt.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  getopt1.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  dfa.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  regex.c
gcc -c -O -DGAWK -I. -DHAVE_CONFIG_H  random.c
random.c:191: parse error before "randtbl"
random.c:210: warning: data definition has no type or storage class
random.c:226: parse error before '*' token
random.c:226: warning: data definition has no type or storage class
random.c:227: parse error before '*' token
random.c:227: warning: data definition has no type or storage class
random.c:239: parse error before '*' token
random.c:239: warning: data definition has no type or storage class
random.c:243: parse error before '*' token
random.c:243: warning: data definition has no type or storage class
random.c:245: parse error before "good_rand"
random.c:245: warning: parameter names (without types) in function declaration
random.c:245: warning: data definition has no type or storage class
random.c:247: parse error before "good_rand"
random.c:248: parse error before "gawk_int32_t"
random.c:248: warning: data definition has no type or storage class
random.c:271: initializer element is not constant
random.c:271: warning: data definition has no type or storage class
random.c:272: initializer element is not constant
random.c:272: warning: data definition has no type or storage class
random.c:273: initializer element is not constant
random.c:273: warning: data definition has no type or storage class
random.c:274: parse error before "if"
random.c: In function `gawk_srandom':
random.c:298: `gawk_uint32_t' undeclared (first use in this function)
random.c:298: (Each undeclared identifier is reported only once
random.c:298: for each function it appears in.)
random.c:298: parse error before "x"
random.c: In function `gawk_initstate':
random.c:389: `gawk_uint32_t' undeclared (first use in this function)
random.c:389: `int_arg_state' undeclared (first use in this function)
random.c:389: parse error before ')' token
random.c: In function `gawk_setstate':
random.c:454: `gawk_uint32_t' undeclared (first use in this function)
random.c:454: `new_state' undeclared (first use in this function)
random.c:454: parse error before ')' token
random.c:463: `type' undeclared (first use in this function)
random.c:479: `rear' undeclared (first use in this function)
random.c: In function `gawk_random':
random.c:506: `gawk_uint32_t' undeclared (first use in this function)
random.c:506: parse error before "i"
random.c:507: `f' undeclared (first use in this function)
random.c:507: `r' undeclared (first use in this function)
random.c:510: `i' undeclared (first use in this function)
make[1]: *** [random.o] Error 1
make[1]: Leaving directory `/c/versuch/gawk-3.1.5'
make: *** [mingw32] Error 2
----------------------------------------------------------

Do you think the problem can be fixed?

Your sincerely
Volker Kiefel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]