Opened 9 years ago

Closed 8 years ago

#64 closed defect (fixed)

Problem compiling libcaca 0.99.beta16

Reported by: guest Owned by: Sam Hocevar
Priority: major Milestone:
Component: core Version: SVN
Keywords: Cc:
Product: libcaca


# make make all-recursive make[1]: Entering directory `/tmp/libcaca-0.99.beta16' Making all in kernel make[2]: Entering directory `/tmp/libcaca-0.99.beta16/kernel' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DOPTIMISE_SLANG_PALETTE=1 -I/usr/local/include -I. -DKERNEL -nostdinc -include kernel/kernel.h -fno-stack-protector -I/usr/local/lib/ruby/1.8/i686-linux -s -O3 -march=i686 -fno-builtin -O2 -Wall -fno-stack-protector -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 kernel.lo -MD -MP -MF .deps/kernel.Tpo -c -o kernel.lo kernel.c

gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DOPTIMISE_SLANG_PALETTE=1 -I/usr/local/include -I. -DKERNEL -nostdinc -include kernel/kernel.h -fno-stack-protector -I/usr/local/lib/ruby/1.8/i686-linux -s -O3 -march=i686 -fno-builtin -O2 -Wall -fno-stack-protector -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 kernel.lo -MD -MP -MF .deps/kernel.Tpo -c kernel.c -fPIC -DPIC -o .libs/kernel.o

cc1: error: unrecognized command line option "-fno-stack-protector" cc1: error: unrecognized command line option "-fno-stack-protector" make[2]: * [kernel.lo] Error 1 make[2]: Leaving directory `/tmp/libcaca-0.99.beta16/kernel' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/tmp/libcaca-0.99.beta16' make: * [all] Error 2

Change History (2)

comment:1 Changed 9 years ago by Sam Hocevar

You are trying to build the VGA output, which only works in kernel mode through the build-kernel script.

Please do not use --enable-vga. I will add a note explaining why it doesn't work.

comment:2 Changed 8 years ago by Sam Hocevar

Resolution: fixed
Status: newclosed

Fixed in [4317].

Note: See TracTickets for help on using tickets.