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

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

(bug ?) - crosscompiling gawk for Linux on PowerPC using --host i686-pc


From: Povolotsky, Alexander
Subject: (bug ?) - crosscompiling gawk for Linux on PowerPC using --host i686-pc-cygwin FAILS ?!
Date: Thu, 14 Oct 2004 14:06:34 -0400

$C=powerpc-gcc LD=powerpc-ld AS=powerpc-as ./configure --host i686-pc-cygwin
... no errors ...
$ make
make 'CFLAGS=-g -O2' 'LDFLAGS=-export-dynamic' all-recursive
make[1]: Entering directory `/cygdrive/d/Profiles/apovolot/gawk/gawk-3.1.3'
Making all in intl
make[2]: Entering directory
`/cygdrive/d/Profiles/apovolot/gawk/gawk-3.1.3/intl'

make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/cygdrive/d/Profiles/apovolot/gawk/gawk-3.1.3/intl'
Making all in .
make[2]: Entering directory `/cygdrive/d/Profiles/apovolot/gawk/gawk-3.1.3'
if powerpc-linux-gcc-3.3.2 -DDEFPATH="\".:/usr/local/share/awk\""
-DHAVE_CONFIG_
H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl
-g -O
2 -MT array.o -MD -MP -MF ".deps/array.Tpo" \
  -c -o array.o `test -f 'array.c' || echo './'`array.c; \
then mv -f ".deps/array.Tpo" ".deps/array.Po"; \
else rm -f ".deps/array.Tpo"; exit 1; \
fi
if powerpc-linux-gcc-3.3.2 -DDEFPATH="\".:/usr/local/share/awk\""
-DHAVE_CONFIG_
H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl
-g -O
2 -MT awkgram.o -MD -MP -MF ".deps/awkgram.Tpo" \
  -c -o awkgram.o `test -f 'awkgram.c' || echo './'`awkgram.c; \
then mv -f ".deps/awkgram.Tpo" ".deps/awkgram.Po"; \
else rm -f ".deps/awkgram.Tpo"; exit 1; \
fi
if powerpc-linux-gcc-3.3.2 -DDEFPATH="\".:/usr/local/share/awk\""
-DHAVE_CONFIG_
H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl
-g -O
2 -MT builtin.o -MD -MP -MF ".deps/builtin.Tpo" \
  -c -o builtin.o `test -f 'builtin.c' || echo './'`builtin.c; \
then mv -f ".deps/builtin.Tpo" ".deps/builtin.Po"; \
else rm -f ".deps/builtin.Tpo"; exit 1; \
fi
if powerpc-linux-gcc-3.3.2 -DDEFPATH="\".:/usr/local/share/awk\""
-DHAVE_CONFIG_
H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl
-g -O
2 -MT ext.o -MD -MP -MF ".deps/ext.Tpo" \
  -c -o ext.o `test -f 'ext.c' || echo './'`ext.c; \
then mv -f ".deps/ext.Tpo" ".deps/ext.Po"; \
else rm -f ".deps/ext.Tpo"; exit 1; \
fi
if powerpc-linux-gcc-3.3.2 -DDEFPATH="\".:/usr/local/share/awk\""
-DHAVE_CONFIG_
H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl
-g -O
2 -MT field.o -MD -MP -MF ".deps/field.Tpo" \
  -c -o field.o `test -f 'field.c' || echo './'`field.c; \
then mv -f ".deps/field.Tpo" ".deps/field.Po"; \
else rm -f ".deps/field.Tpo"; exit 1; \
fi
if powerpc-linux-gcc-3.3.2 -DDEFPATH="\".:/usr/local/share/awk\""
-DHAVE_CONFIG_
H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl
-g -O
2 -MT gawkmisc.o -MD -MP -MF ".deps/gawkmisc.Tpo" \
  -c -o gawkmisc.o `test -f 'gawkmisc.c' || echo './'`gawkmisc.c; \
then mv -f ".deps/gawkmisc.Tpo" ".deps/gawkmisc.Po"; \
else rm -f ".deps/gawkmisc.Tpo"; exit 1; \
fi
if powerpc-linux-gcc-3.3.2 -DDEFPATH="\".:/usr/local/share/awk\""
-DHAVE_CONFIG_
H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl
-g -O
2 -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" \
  -c -o getopt.o `test -f 'getopt.c' || echo './'`getopt.c; \
then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; \
else rm -f ".deps/getopt.Tpo"; exit 1; \
fi
if powerpc-linux-gcc-3.3.2 -DDEFPATH="\".:/usr/local/share/awk\""
-DHAVE_CONFIG_
H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl
-g -O
2 -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" \
  -c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c; \
then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; \
else rm -f ".deps/getopt1.Tpo"; exit 1; \
fi
if powerpc-linux-gcc-3.3.2 -DDEFPATH="\".:/usr/local/share/awk\""
-DHAVE_CONFIG_
H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl
-g -O
2 -MT io.o -MD -MP -MF ".deps/io.Tpo" \
  -c -o io.o `test -f 'io.c' || echo './'`io.c; \
then mv -f ".deps/io.Tpo" ".deps/io.Po"; \
else rm -f ".deps/io.Tpo"; exit 1; \
fi
io.c: In function `useropen':
io.c:1478: error: `ngroups' undeclared (first use in this function)
io.c:1478: error: (Each undeclared identifier is reported only once
io.c:1478: error: for each function it appears in.)
io.c:1480: error: `groupset' undeclared (first use in this function)
make[2]: *** [io.o] Error 1
make[2]: Leaving directory `/cygdrive/d/Profiles/apovolot/gawk/gawk-3.1.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/Profiles/apovolot/gawk/gawk-3.1.3'
make: *** [all] Error 2

>  -----Original Message-----
> From:         Povolotsky, Alexander  
> Sent: Thursday, October 14, 2004 1:46 PM
> To:   'address@hidden'
> Cc:   'address@hidden'
> Subject:      Question (bug ?) - how to build gawk for Linux on PowerPC ?
> What are pre-requisites to be prior installed ?
> 
> Hi,
> 
> Question (bug ?) - how to build gawk for Linux on PowerPC ? What are
> pre-requisites to be prior installed ?
> See below the capture of failure to buid gawk "natively" (should I
> crosscompile instead ?)
> 
> address@hidden:/gawk/gawk-3.1.3# set
> BASH=/bin/bash
> BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release"
> [5]="powerpc-unkn
> own-linux-gnu")
> BASH_VERSION='2.05b.0(1)-release'
> COLUMNS=80
> DIRSTACK=()
> EUID=0
> GROUPS=()
> HISTFILE=//.bash_history
> HISTFILESIZE=500
> HISTSIZE=500
> HOME=/
> HOSTNAME=192.168.0.5
> HOSTTYPE=powerpc
> IFS=$' \t\n'
> LINES=24
> MACHTYPE=powerpc-unknown-linux-gnu
> MAILCHECK=60
> OLDPWD=/gawk
> OPTERR=1
> OPTIND=1
> OSTYPE=linux-gnu
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
> PIPESTATUS=([0]="0")
> PPID=1
> PS1='address@hidden:\w\$ '
> PS2='> '
> PS4='+ '
> PWD=/gawk/gawk-3.1.3
> SHELL=/bin/bash
> SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comment
> s:moni
> tor
> SHLVL=2
> TERM=linux
> UID=0
> _=alias
> address@hidden:/gawk/gawk-3.1.3#
> address@hidden:/gawk/gawk-3.1.3# CC=powerpc-gcc LD=powerpc-ld AS=powerpc-as
> ./configure
> rm: invalid option -- f
> usage: rm [-d] [-q len] [conf]rm: invalid option -- f
> usage: rm [-d] [-q len] [conf]rm: invalid option -- f
> usage: rm [-d] [-q len] [conf]rm: invalid option -- r
> usage: rm [-d] [-q len] [conf]sed: invalid option -- n
> usage: sed [-d] [-q len] [conf]configure: error: cannot find install-sh or
> install.sh in  /.. /../..
> sed: invalid option -- n
> usage: sed [-d] [-q len] [conf]rm: invalid option -- f
> 
> Thanks,
> Alex




reply via email to

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