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

[libcaca] Re: libcaca 0.5 does'nt work for me



Hi, I have the same. This version is broke. Gcc 3.3 gave this back 
after a ./configure --enable-ncurses on OS X 10.3 (got the same with 
gcc under Linux):

make  all-recursive
Making all in src
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT caca.o -MD -MP -MF ".deps/caca.Tpo" \
   -c -o caca.o `test -f 'caca.c' || echo './'`caca.c; \
then mv -f ".deps/caca.Tpo" ".deps/caca.Po"; \
else rm -f ".deps/caca.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT graphics.o -MD -MP -MF ".deps/graphics.Tpo" \
   -c -o graphics.o `test -f 'graphics.c' || echo './'`graphics.c; \
then mv -f ".deps/graphics.Tpo" ".deps/graphics.Po"; \
else rm -f ".deps/graphics.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT io.o -MD -MP -MF ".deps/io.Tpo" \
   -c -o io.o `test -f 'io.c' || echo './'`io.c; \
then mv -f ".deps/io.Tpo" ".deps/io.Po"; \
else rm -f ".deps/io.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT math.o -MD -MP -MF ".deps/math.Tpo" \
   -c -o math.o `test -f 'math.c' || echo './'`math.c; \
then mv -f ".deps/math.Tpo" ".deps/math.Po"; \
else rm -f ".deps/math.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT line.o -MD -MP -MF ".deps/line.Tpo" \
   -c -o line.o `test -f 'line.c' || echo './'`line.c; \
then mv -f ".deps/line.Tpo" ".deps/line.Po"; \
else rm -f ".deps/line.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT box.o -MD -MP -MF ".deps/box.Tpo" \
   -c -o box.o `test -f 'box.c' || echo './'`box.c; \
then mv -f ".deps/box.Tpo" ".deps/box.Po"; \
else rm -f ".deps/box.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT conic.o -MD -MP -MF ".deps/conic.Tpo" \
   -c -o conic.o `test -f 'conic.c' || echo './'`conic.c; \
then mv -f ".deps/conic.Tpo" ".deps/conic.Po"; \
else rm -f ".deps/conic.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT triangle.o -MD -MP -MF ".deps/triangle.Tpo" \
   -c -o triangle.o `test -f 'triangle.c' || echo './'`triangle.c; \
then mv -f ".deps/triangle.Tpo" ".deps/triangle.Po"; \
else rm -f ".deps/triangle.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT sprite.o -MD -MP -MF ".deps/sprite.Tpo" \
   -c -o sprite.o `test -f 'sprite.c' || echo './'`sprite.c; \
then mv -f ".deps/sprite.Tpo" ".deps/sprite.Po"; \
else rm -f ".deps/sprite.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT bitmap.o -MD -MP -MF ".deps/bitmap.Tpo" \
   -c -o bitmap.o `test -f 'bitmap.c' || echo './'`bitmap.c; \
then mv -f ".deps/bitmap.Tpo" ".deps/bitmap.Po"; \
else rm -f ".deps/bitmap.Tpo"; exit 1; \
fi
rm -f libcaca.a
ar cru libcaca.a caca.o graphics.o io.o math.o line.o box.o conic.o 
triangle.o sprite.o bitmap.o
ranlib libcaca.a
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-caca.o -MD -MP -MF ".deps/libcaca_pic_a-caca.Tpo" \
   -c -o libcaca_pic_a-caca.o `test -f 'caca.c' || echo './'`caca.c; \
then mv -f ".deps/libcaca_pic_a-caca.Tpo" 
".deps/libcaca_pic_a-caca.Po"; \
else rm -f ".deps/libcaca_pic_a-caca.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-graphics.o -MD -MP -MF 
".deps/libcaca_pic_a-graphics.Tpo" \
   -c -o libcaca_pic_a-graphics.o `test -f 'graphics.c' || echo 
'./'`graphics.c; \
then mv -f ".deps/libcaca_pic_a-graphics.Tpo" 
".deps/libcaca_pic_a-graphics.Po"; \
else rm -f ".deps/libcaca_pic_a-graphics.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-io.o -MD -MP -MF ".deps/libcaca_pic_a-io.Tpo" \
   -c -o libcaca_pic_a-io.o `test -f 'io.c' || echo './'`io.c; \
then mv -f ".deps/libcaca_pic_a-io.Tpo" ".deps/libcaca_pic_a-io.Po"; \
else rm -f ".deps/libcaca_pic_a-io.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-math.o -MD -MP -MF ".deps/libcaca_pic_a-math.Tpo" \
   -c -o libcaca_pic_a-math.o `test -f 'math.c' || echo './'`math.c; \
then mv -f ".deps/libcaca_pic_a-math.Tpo" 
".deps/libcaca_pic_a-math.Po"; \
else rm -f ".deps/libcaca_pic_a-math.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-line.o -MD -MP -MF ".deps/libcaca_pic_a-line.Tpo" \
   -c -o libcaca_pic_a-line.o `test -f 'line.c' || echo './'`line.c; \
then mv -f ".deps/libcaca_pic_a-line.Tpo" 
".deps/libcaca_pic_a-line.Po"; \
else rm -f ".deps/libcaca_pic_a-line.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-box.o -MD -MP -MF ".deps/libcaca_pic_a-box.Tpo" \
   -c -o libcaca_pic_a-box.o `test -f 'box.c' || echo './'`box.c; \
then mv -f ".deps/libcaca_pic_a-box.Tpo" ".deps/libcaca_pic_a-box.Po"; \
else rm -f ".deps/libcaca_pic_a-box.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-conic.o -MD -MP -MF ".deps/libcaca_pic_a-conic.Tpo" \
   -c -o libcaca_pic_a-conic.o `test -f 'conic.c' || echo './'`conic.c; \
then mv -f ".deps/libcaca_pic_a-conic.Tpo" 
".deps/libcaca_pic_a-conic.Po"; \
else rm -f ".deps/libcaca_pic_a-conic.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-triangle.o -MD -MP -MF 
".deps/libcaca_pic_a-triangle.Tpo" \
   -c -o libcaca_pic_a-triangle.o `test -f 'triangle.c' || echo 
'./'`triangle.c; \
then mv -f ".deps/libcaca_pic_a-triangle.Tpo" 
".deps/libcaca_pic_a-triangle.Po"; \
else rm -f ".deps/libcaca_pic_a-triangle.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-sprite.o -MD -MP -MF ".deps/libcaca_pic_a-sprite.Tpo" 
\
   -c -o libcaca_pic_a-sprite.o `test -f 'sprite.c' || echo 
'./'`sprite.c; \
then mv -f ".deps/libcaca_pic_a-sprite.Tpo" 
".deps/libcaca_pic_a-sprite.Po"; \
else rm -f ".deps/libcaca_pic_a-sprite.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -fPIC -DPIC -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT libcaca_pic_a-bitmap.o -MD -MP -MF ".deps/libcaca_pic_a-bitmap.Tpo" 
\
   -c -o libcaca_pic_a-bitmap.o `test -f 'bitmap.c' || echo 
'./'`bitmap.c; \
then mv -f ".deps/libcaca_pic_a-bitmap.Tpo" 
".deps/libcaca_pic_a-bitmap.Po"; \
else rm -f ".deps/libcaca_pic_a-bitmap.Tpo"; exit 1; \
fi
rm -f libcaca_pic.a
ar cru libcaca_pic.a libcaca_pic_a-caca.o libcaca_pic_a-graphics.o 
libcaca_pic_a-io.o libcaca_pic_a-math.o libcaca_pic_a-line.o 
libcaca_pic_a-box.o libcaca_pic_a-conic.o libcaca_pic_a-triangle.o 
libcaca_pic_a-sprite.o libcaca_pic_a-bitmap.o
ranlib libcaca_pic.a
Making all in examples
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../src 
-DDATADIR=\"/usr/local/share/libcaca\" -I/sw/include  -I/sw/include -g 
-O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith 
-Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT cacademo-demo.o -MD -MP -MF ".deps/cacademo-demo.Tpo" \
   -c -o cacademo-demo.o `test -f 'demo.c' || echo './'`demo.c; \
then mv -f ".deps/cacademo-demo.Tpo" ".deps/cacademo-demo.Po"; \
else rm -f ".deps/cacademo-demo.Tpo"; exit 1; \
fi
gcc  -I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer 
-Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes 
-Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs 
-Wsign-compare  -L/sw/lib -o cacademo  cacademo-demo.o ../src/libcaca.a 
  -lncurses -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../src -DLIBCACA=1 -I/sw/include 
  -I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT cacafire-aafire.o -MD -MP -MF ".deps/cacafire-aafire.Tpo" \
   -c -o cacafire-aafire.o `test -f 'aafire.c' || echo './'`aafire.c; \
then mv -f ".deps/cacafire-aafire.Tpo" ".deps/cacafire-aafire.Po"; \
else rm -f ".deps/cacafire-aafire.Tpo"; exit 1; \
fi
gcc  -I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer 
-Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes 
-Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs 
-Wsign-compare  -L/sw/lib -o cacafire  cacafire-aafire.o 
../src/libcaca.a  -lncurses
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../src -I/sw/include  
-I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall 
-Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow 
-Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare 
-MT caca_spritedit-spritedit.o -MD -MP -MF 
".deps/caca_spritedit-spritedit.Tpo" \
   -c -o caca_spritedit-spritedit.o `test -f 'spritedit.c' || echo 
'./'`spritedit.c; \
then mv -f ".deps/caca_spritedit-spritedit.Tpo" 
".deps/caca_spritedit-spritedit.Po"; \
else rm -f ".deps/caca_spritedit-spritedit.Tpo"; exit 1; \
fi
gcc  -I/sw/include -g -O2 -fno-strength-reduce -fomit-frame-pointer 
-Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes 
-Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs 
-Wsign-compare  -L/sw/lib -o caca-spritedit  caca_spritedit-spritedit.o 
../src/libcaca.a  -lncurses
ld: Undefined symbols:
__caca_antialiasing
__caca_background
__caca_dithering
make[2]: *** [caca-spritedit] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
On Dec 26, 2003, at 2:05 AM, Sam Hocevar wrote:

----------------------------------------

I also tried --enable-ncurses --enable-slang- --enable-x11... it also 
gives errors, although much less helpful than the ones above.

::: sam :::

> On Thu, Dec 25, 2003, Zeeshan Ali wrote:
>
>>>    It may be that no output driver was compiled in.
>>> Did you use
>>> --enable-ncurses or --enable-slang when configuring?
>>
>>     yeah, but --enable-X11 is the only one that works
>> for me, why does'nt the default (ncurses) work for me?
>
>    Well, I can't tell you... Do you have any error messages? I suggest
> you activate --enable-ncurses --enable-slang --enable-x11 at the same
> time, because I found a few compilation bugs in other configurations.
>
> -- 
> Sam.
> -- 
> This is the libcaca mailing-list, see 
> http://sam.zoy.org/projects/libcaca/
> Trouble unsubscribing? Please contact <sam@zoy.org>
> List archives are at http://sam.zoy.org/projects/libcaca/threads.html
>


-- 
This is the libcaca mailing-list, see http://sam.zoy.org/projects/libcaca/
Trouble unsubscribing? Please contact <sam@zoy.org>
List archives are at http://sam.zoy.org/projects/libcaca/threads.html