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

[plamo:24703] gcc-3.2/3.2.3 のmake



こんにちは.

gcc-3.2/3.2.3 のmake で下記のエラーになってしまいます(3.2でも同様のエラー
が起こります).対処方をお教えいただけましたら幸いです.よろしくお願いい
たします.

gcc: 2.95.2
binutils :2.10

% ./configure --enable-shared --enable-threads
% make
gcc -W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes
-Wwrite-strings -g -O2  -o grepjar  jargrep.o dostime.o compress.o
pushback.o ./../zlib/libz.a -L/../zlib/ ../libiberty/libiberty.a 
jargrep.o: In function `extract_line':
/home/matsui/gnu/gcc-3.2.3/fastjar/jargrep.c:347: undefined reference to
`__ctype_b'
/home/matsui/gnu/gcc-3.2.3/fastjar/jargrep.c:349: undefined reference to
`__ctype_b'
jargrep.o: In function `chk_wrd':
/home/matsui/gnu/gcc-3.2.3/fastjar/jargrep.c:386: undefined reference to
`__ctype_b'
/home/matsui/gnu/gcc-3.2.3/fastjar/jargrep.c:392: undefined reference to
`__ctype_b'
jargrep.o: In function `mk_ascii':
/home/matsui/gnu/gcc-3.2.3/fastjar/jargrep.c:498: undefined reference to
`__ctype_b'
collect2: ld returned 1 exit status
make[1]: *** [grepjar] Error 1
make[1]: Leaving directory `/home/matsui/gnu/gcc-3.2.3/fastjar'
make: *** [all-fastjar] Error 2

P.S. gcc-3.0 のコンパイルも試してみましたが,下記のエラーが起こります.

make[2]: Entering directory `/home/matsui/gnu/gcc-3.0/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else mkdir $d; fi \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/matsui/gnu/gcc-3.0/gcc/xgcc -B/home/matsui/gnu/gcc-3.0/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -O2   -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I. -I./. -I./config -I./../include
-DL_muldi3 -c ./libgcc2.c -o libgcc/./_muldi3.o
In file included from config/i386/linux.h:237,
                 from tm.h:7,
                 from config/i386/xm-i386.h:39,
                 from tconfig.h:3,
                 from libgcc2.c:36:
/usr/local/include/sys/ucontext.h:125: parse error before "__sigset_t"
/usr/local/include/sys/ucontext.h:127: parse error before '}' token
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/home/matsui/gnu/gcc-3.0/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/matsui/gnu/gcc-3.0/gcc'
make: *** [all-gcc] Error 2

-- 
松井

Follow-Ups
[plamo:24708] Re: gcc-3.2/3.2.3 のmake, A Matsui

[検索ページ] [メール一覧]
Plamo ML 公開システム