[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libann-users] libann compile problem
From: |
wuy |
Subject: |
[libann-users] libann compile problem |
Date: |
Wed, 19 Dec 2007 12:55:33 +0100 (MET) |
User-agent: |
SquirrelMail/1.4.2 |
Hallo,
I tried to complie libann 1.4 and it doesn't work.
Can somebody tell me why? thanks.
address@hidden:~/Desktop/libann.1.4$ sudo ./configure
Password:
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for flex... (cached) lex
checking for yywrap in -ll... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking whether the C compiler knows about __FUNCTION__... (cached) no
checking for lrand48... (cached) yes
creating ./config.status
creating Makefile
creating ann/vers.cc
creating config.h
config.h is unchanged
address@hidden:~/Desktop/libann.1.4$ sudo make
CPPFLAGS="-I /usr/local/include -I . -I . -I ./ann" ./generate-depends.sh
ann/ve
./generate-depends.sh: 45: shopt: not found
./generate-depends.sh: 50: shopt: not found
g++ -c -I /usr/local/include -I . -I . -I ./ann -g ann/vers.cc -o ann/vers.o
g++ -c -I /usr/local/include -I . -I . -g ann/matrix.cc -o ann/matrix.o
ann/ann.h:97: Fehler: zusätzliche Qualifizierung »ann::vector::« an
Element »sav
ann/ann.h:102: Fehler: zusätzliche Qualifizierung »ann::vector::« an
Element »lo
ann/matrix.h:139: Fehler: zusätzliche Qualifizierung »ann::matrix::« an
Element
ann/matrix.h:181: Fehler: zusätzliche Qualifizierung »ann::matrix::« an
Element
ann/matrix.h:187: Fehler: zusätzliche Qualifizierung »ann::matrix::« an
Element
make: *** [ann/matrix.o] Fehler 1
address@hidden:~/Desktop/libann.1.4$ g++ --version
g++ (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
gibt KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE
ZWECKE.
Regards,
Yue
- [libann-users] libann compile problem,
wuy <=