Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm trying to compile compile ices-cc into a set of static files on Ubuntu Server 13.04. I use the automatic Centova's build-ices.sh script and use the following command:

./buildices.sh --prefix=/opt/ices --usefaad=1 --static --proceed

Unfortunately, the linking fails with following error:

gcc -O20 -ffast-math -D_REENTRANT -fsigned-char -I/usr/local/ices//include -DUSE_MEMORY_H -I/usr/local/ices//include -o decoder_example decoder_example.o -Wl,-Bstatic  -L/usr/local/ices//lib ../lib/.libs/libvorbis.a -L/opt/ices/lib /opt/ices/lib/libogg.a -lm
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
make[2]: *** [decoder_example] Error 1
make[2]: Leaving directory `/usr/local/src/ices/libvorbis-1.1.2/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ices/libvorbis-1.1.2'
make: *** [all] Error 2
Make failed for libvorbis.tar.gz; aborting

How can I fix this?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.