#error现在需要定义FIXED_POINT或FLOATING_POINT

时间:2011-11-02 05:42:11

标签: c linux ubuntu compilation speex

我正在尝试在运行Linux环境的IBM PowerPC机器上编译ioauek3。 我收到了这个错误:

#error You now need to define either FIXED_POINT or FLOATING_POINT

在搜索网络寻找答案后,我发现很多人都在做“make speex-reconf”。 我下载了: http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz

我打开包装。然后,跑了一个“制造”。既然,我没有“安装”权限,我只是运行了“make”。 然后,我做了一个“make speex-reconf”。 我得到了一大堆输出。

我回到了我的ioquake3文件夹,并做了另一个“make”。但是,错误仍然不会消失。 我在这里缺少什么?

-

rmc104:~/minoru/cfe2/yasirTemp/ioquake3dev/zzz/speex-1.2rc1[8053]% make -speex-reconf
make: invalid option -- 'x'
make: invalid option -- '-'
make: invalid option -- 'c'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from commands.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any commands; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no commands; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo commands.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for powerpc-unknown-linux-gnu
Report bugs to <bug-make@gnu.org>

# Make data base, printed on Wed Nov  2 14:21:21 2011

# Variables

# environment
LC_CTYPE = C
# environment
CVSEDITOR = emacs -nw
# environment
XMODIFIERS = @im=kinput2
# environment
SHELL = /bin/zsh
# environment
TZ = JST-9
# environment
_ = /usr/bin/make
# environment
SSH_CONNECTION = 133.9.80.9 59052 133.9.80.16 22
# environment
PATH = /home7/yasir/bin/common:/home7/yasir/bin/ppc64-linux:/usr/local/bin:/usr/games:/usr/X11R6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
# environment
SSH_TTY = /dev/pts/0
# default
.FEATURES := target-specific order-only second-expansion else-if archives jobserver check-symlink
# environment
PWD = /home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/zzz/speex-1.2rc1
# environment
HOME = /home7/yasir
# environment
CVSROOT = /usr/local/cvsroot
# environment
LOGNAME = yasir
# environment
PRINTER = ls7
# environment
LC_TIME = C
# environment
SHLVL = 1
# environment
JSERVER = razzie04
# environment
USER = yasir
# environment
OLDPWD = /home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/zzz/speex-1.2rc1/include
# default
.VARIABLES :=
# environment
CVS_RSH = ssh
# environment
SSH_CLIENT = 133.9.80.9 59052 22
# environment
MAIL = /var/mail/yasir
# environment
EDITOR = vi
# environment
LC_ALL = C
# environment
http_proxy = http://133.9.80.129:3128/
# environment
LANG = C
# environment
TERM = xterm
# variable set hash-table stats:
# Load=29/1024=3%, Rehash=0, Collisions=1/36=3%

# Pattern-specific Variable Values

# No pattern-specific variable values.

# Directories


# No files, no impossibilities in 0 directories.

# Implicit Rules

# No implicit rules.

# Files

# files hash-table stats:
# Load=0/1024=0%, Rehash=0, Collisions=0/0=0%
# VPATH Search Paths

# No `vpath' search paths.

# No general (`VPATH' variable) search path.

# # of strings in strcache: 0
# # of strcache buffers: 0
# strcache size: total = 0 / max = 0 / min = 4096 / avg = 0
# strcache free: total = 0 / max = 0 / min = 4096 / avg = 0

# 

Finished Make data base on Wed Nov  2 14:21:21 2011

-

1 个答案:

答案 0 :(得分:0)

您展示的是运行的结果:

make -speex-reconf

你不想要前面的破折号;你应该打字:

make speex-reconf

这是否足够是一个完全独立的问题。