I tried to compile each version of pfstools using 64-bit archlinux from
1.8.1 to 1.6.5. I could compile only 1.6.5; the others gave me this error.
I had theese commands:
1) ./configure
2) make. During "make" command it gave me this error:
g++ -DHAVE_CONFIG_H -I. -I../.. -I./../pfs -O3 -MT
pfsextractchannels.o -MD -MP -MF .deps/pfsextractchannels.Tpo -c -o
pfsextractchannels.o pfsextractchannels.cpp
pfsextractchannels.cpp: In function ‘void extractChannels(int,
char**)’:
pfsextractchannels.cpp:92: warning: deprecated conversion from string
constant to ‘char*’
mv -f .deps/pfsextractchannels.Tpo .deps/pfsextractchannels.Po
/bin/sh ../../libtool --tag=CXX --mode=link g++ -O3 -o
pfsextractchannels pfsextractchannels.o ../pfs/libpfs-1.2.la
g++ -O3 -o .libs/pfsextractchannels pfsextractchannels.o
../pfs/.libs/libpfs-1.2.so -Wl,--rpath -Wl,/usr/local/lib
creating pfsextractchannels
g++ -DHAVE_CONFIG_H -I. -I../.. -I./../pfs -O3 -MT pfspanoramic.o -MD
-MP -MF .deps/pfspanoramic.Tpo -c -o pfspanoramic.o pfspanoramic.cpp
pfspanoramic.cpp: In static member function ‘static Projection*
ProjectionFactory::getProjection(const char*)’:
pfspanoramic.cpp:198: error: invalid conversion from ‘const char*’ to
‘char*’
make[3]: *** [pfspanoramic.o] Error 1
make[3]: Leaving directory
`/home/fiol/buildx86_64/pfstools/pfstools-1.8.1/src/filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/fiol/buildx86_64/pfstools/pfstools-1.8.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/fiol/buildx86_64/pfstools/pfstools-1.8.1'
make: *** [all] Error 2
Why does it happen? :-(
Thanks!
Nobody/Anonymous ( nobody ) - 2009-09-01 12:43
5
Closed
None
Rafal Mantiuk
pfstools
None
Public
|
Date: 2009-09-05 10:44 gcc (GCC) 4.4.1 |
|
Date: 2009-09-01 14:14 What compiler are you running? (gcc --version). |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-09-05 18:02 | rafm |
| close_date | - | 2009-09-05 18:02 | rafm |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use