-   Linux - Newbie (
-   -   livid libcss compile error... (

makai_wi 11-06-2002 09:32 PM

livid libcss compile error...
I am getting a compile error when trying to compile livid libcss... I'm new to compiling software and I'm unsure what's going on. I have RedHat 8.0, I have been getting compile error's with other software as well, anyone have any ideas?


[root@makai libcss-0.1.0]# make
make all-recursive
make[1]: Entering directory `/home/jrasith/livid/libcss-0.1.0'
Making all in src
make[2]: Entering directory `/home/jrasith/livid/libcss-0.1.0/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I -g -O2 -pipe -Wall -Werror -O6 -fomit-frame-pointer -funroll-all-loops
-D__OPTIMIZE__ -D__USE_STRING_INLINES -c css_descramble.c
rm -f .libs/css_descramble.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I -g -O2 -pipe -Wall -Werror -O6 -fomit-frame-pointer -funroll-all-loops -D__OPTIMIZE__ -D__USE_STRING_INLINES -c css_descramble.c -fPIC -DPIC -o .libs/css_descramble.lo
cc1: warnings being treated as errors
css_descramble.c: In function `CSSDescramble':
css_descramble.c:260: warning: operation on `sec' may be undefined
make[2]: *** [css_descramble.lo] Error 1
make[2]: Leaving directory `/home/jrasith/livid/libcss-0.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jrasith/livid/libcss-0.1.0'
make: *** [all-recursive-am] Error 2
[root@makai libcss-0.1.0]#

bulliver 11-06-2002 11:18 PM

First thing to do is check all the files in the package along the lines of README, INSTALL, README.LINUX and so forth, they will usually have specific info on compiling and making the program. Read them very carefully, you cannot usually type "./configure && make && make install" blindly and expect it to work.

Second, make sure you have the required shared libraries needed to compile the program, this should also be on the README's. Check the program website for more help.

Also, you can run "./configure --help" which will give you a list of options to pass to GCC during compile, which may or may not be useful.

Make sure that everytime you try to make a program you run "make clean" to clean the binaries and makefiles from the source-tree of your previous unsuccessful make attempt.

That should get you started. . .

All times are GMT -5. The time now is 04:41 AM.