nixp.ru v3.0

6 ноября 2024,
среда,
18:25:33 MSK

anonymous написал 28 апреля 2005 года в 08:53 (1225 просмотров) Ведет себя неопределенно; открыл 1814 темы в форуме, оставил 5575 комментариев на сайте.

Такая проблема:

стоял gcc 3.4.3, ради интереса поставил gcc 4.0. После этого захотел обратно 3.4.3, сделал remomovepkg gcc*, установил по новой 3.4.3, теперь ничего не работает:

root@linux:/distrib/cvs/fluxbox# ./configure --prefix=/usr

checking for a BSD-compatible install… /usr/local/bin/ginstall -c

checking whether build environment is sane… yes

/distrib/cvs/fluxbox/missing: Unknown `--run' option

Try `/distrib/cvs/fluxbox/missing --help' for more information

configure: WARNING: `missing' script is too old or missing

checking for gawk… gawk

checking whether make sets $(MAKE)… yes

checking for gcc… gcc

checking for C compiler default output file name… a.out

checking whether the C compiler works… configure: error: cannot run C compiled programs.

If you meant to cross compile, use `--host’.

See `config.log' for more details.

config.log:

## ——— ##

## Platform. ##

## ——— ##

hostname = linux

uname -m = i686

uname -r = 2.6.11-morph6

uname -s = Linux

uname -v = #1 Fri Apr 8 09:21:06 MSD 2005

/usr/bin/uname -p = unknown

/bin/uname -X = unknown

/bin/arch = i686

/usr/bin/arch -k = unknown

/usr/convex/getsysinfo = unknown

hostinfo = unknown

/bin/machine = unknown

/usr/bin/oslevel = unknown

/bin/universe = unknown

PATH: /usr/local/sbin

PATH: /usr/sbin

PATH: /sbin

PATH: /usr/local/bin

PATH: /usr/bin

PATH: /bin

PATH: /usr/X11R6/bin

PATH: /usr/games

PATH: /opt/www/htdig/bin

PATH: /usr/lib/java/bin

PATH: /usr/lib/java/jre/bin

PATH: /usr/lib/qt/bin

PATH: /usr/share/texmf/bin

## ———-- ##

## Core tests. ##

## ———-- ##

configure:1570: checking for a BSD-compatible install

configure:1625: result: /usr/local/bin/ginstall -c

configure:1636: checking whether build environment is sane

configure:1679: result: yes

configure:1703: WARNING: `missing' script is too old or missing

configure:1736: checking for gawk

configure:1752: found /usr/local/bin/gawk

configure:1762: result: gawk

configure:1772: checking whether make sets $(MAKE)

configure:1792: result: yes

configure:2004: checking for gcc

configure:2020: found /usr/local/bin/gcc

configure:2030: result: gcc

configure:2274: checking for C compiler version

configure:2277: gcc --version &5

gcc (GCC) 3.4.3

Copyright (C) 2004 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2280: $? = 0

configure:2282: gcc -v &5

Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.3/specs

Configured with: ../gcc-3.4.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-

checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux

Thread model: posix

gcc version 3.4.3

configure:2285: $? = 0

configure:2287: gcc -V &5

gcc: `-V' option must have argument

configure:2290: $? = 1

configure:2313: checking for C compiler default output file name

configure:2316: gcc -O6 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe -mfpmath=sse -mmmx -msse2 conftest.c >&5

/usr/lib/gcc/i486-slackware-linux/3.4.3/../../../../i486-slackware-linux/bin/ld: warning: cannot find entry symbol _start; de

faulting to 00000000080481c0

configure:2319: $? = 0

configure:2365: result: a.out

configure:2370: checking whether the C compiler works

configure:2376: ./a.out

./configure: line 2377: 18571 Illegal instruction ./$ac_file

configure:2379: $? = 132

configure:2388: error: cannot run C compiled programs.

If you meant to cross compile, use `--host’.

See `config.log' for more details.

система слака 10. частично 10.1

anonymous

а если написать `hello world' и скомпилировать, что gcc говорит? Да, `-Wall' не забудь, ему не помешает.

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.