LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2002, 09:32 PM   #1
makai_wi
Member
 
Registered: Nov 2002
Location: Thiensville, WI, USA
Distribution: RedHat Linux 9
Posts: 85

Rep: Reputation: 15
Angry 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]#
 
Old 11-06-2002, 11:18 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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. . .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error after compile to 2.6.7 Reefcrazed Slackware 22 08-13-2004 08:59 PM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM
Livid dvd player help fbs2003 Linux - Newbie 3 04-18-2003 08:32 AM
compile mplayer with libcss support ddpicard Linux - Software 10 11-21-2002 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration