Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using the latest BLFS book as a guide. For some reason, I get these errors:
Code:
vo_ivtv.c:60: warning: missing initializer
vo_ivtv.c:60: warning: (near initialization for 'subopts[0].set')
vo_ivtv.c:61: warning: missing initializer
vo_ivtv.c:61: warning: (near initialization for 'subopts[1].set')
vo_ivtv.c:62: warning: missing initializer
vo_ivtv.c:62: warning: (near initialization for 'subopts[2].type')
vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
vo_ivtv.c:85: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this function)
vo_ivtv.c:85: error: (Each undeclared identifier is reported only once
vo_ivtv.c:85: error: for each function it appears in.)
vo_ivtv.c:95: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this function)
vo_ivtv.c:80: warning: unused variable 'sd1'
vo_ivtv.c:79: warning: unused variable 'sd'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/home/harley/root_files/MPlayer-1.0rc1/libvo'
make: *** [libvo/libvo.a] Error 2
i am not 100% sure but this looks like a gcc version error
gcc has made a bunch of changes and headers need to be EXPLICITLY declared as #includes
-- that is one of the major reason for build errors
?? what version of gcc is the mplayer source ment for ?gcc3.4?( 3 4 was used up until just 2 or so years ago ) 4.0, 4.1, 4.2, 4.3, 4.4, 4.5 ?
all the 4's are new and all have had changes
also what version of gcc dose the " BLFS book as a guide" use in the examples ?
i am not 100% sure but this looks like a gcc version error
gcc has made a bunch of changes and headers need to be EXPLICITLY declared as #includes
-- that is one of the major reason for build errors
?? what version of gcc is the mplayer source ment for ?gcc3.4?( 3 4 was used up until just 2 or so years ago ) 4.0, 4.1, 4.2, 4.3, 4.4, 4.5 ?
all the 4's are new and all have had changes
also what version of gcc dose the " BLFS book as a guide" use in the examples ?
I'm using gcc 4.4.3 right now. To be honest I haven't upgraded my gcc version using the BLFS book. I only used the gcc version that was specified in LFS 6.6 (Latest stable). I'm not entirely sure, but I'll look at the version of gcc in BLFS. Thanks.
EDIT: This is a bit strange, but the latest BLFS book uses gcc 4.4.1. It's actually older than the version mentioned in stable LFS. However, do you think it wouli be worth the time to downgrade or install the older version?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.