LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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

Reply
 
LinkBack Search this Thread
Old 08-21-2006, 11:16 AM   #1
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
BLFS guild build problem


Hi. I'm using BLFS v. 6.1 on a LFS 6.2 system. The LFS was pretty much by the book, only I used GParted to make my partitions.

My problem is that every time I try to build guile from source, I get through ./configure fine, but the make command gives me the same error each time. It's an incredibly indescriptive "[error 2]".

I dumped the entire output of configure and make into text files, but to be honest, I don't know which parts are relevant, and I don't think I should post 1,500 lines of output. Is it the end that is the most relevent? What should I post.

I should note that I've satisfied all dependencies and that I'm actually building chrooted in from the LFS LiveCD. (I don't have any gui on the LFS yet, and although I don't need it, its a nice security blanket.)

I'm compiling all this on a compaq presario laptop V5119US.
Thanks for your help, and if you need any other info, just ask.

Last edited by PatrickNew; 08-21-2006 at 12:39 PM.
 
Old 08-21-2006, 12:43 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,676
Blog Entries: 1

Rep: Reputation: 204Reputation: 204Reputation: 204
Quote:
Originally Posted by PatrickNew
It's an incredibly indescriptive "[error 2]".

...I don't think I should post 1,500 lines of output. Is it the end that is the most relevent? What should I post.
The actual error is probably three or four lines before this. Probably a good rule of thumb would be to post the last 20 lines of output as a start.
 
Old 08-21-2006, 01:04 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,676
Blog Entries: 1

Rep: Reputation: 204Reputation: 204Reputation: 204
Oops, double posted. Darn employer provided IE6, I can't figure out how to use it. Better get back to work.

Last edited by weibullguy; 08-21-2006 at 01:11 PM.
 
Old 08-22-2006, 07:22 AM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Original Poster
Rep: Reputation: 48
Alright. Here we go. The last 20 lines of output from config:

checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for tgoto in -lncurses... yes
checking for readline in -lreadline... yes
checking for siginterrupt... yes
checking for rl_clear_signals... yes
checking for rl_cleanup_after_signal... yes
checking for rl_filename_completion_function... yes
checking for rl_pre_input_hook... yes
checking if readline clears SA_RESTART flag for SIGWINCH... yes
checking for rl_getc_function pointer in readline... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ice-9/Makefile
config.status: executing depfiles commands


and the last 20 lines from make:

(./guile-snarf-docs -DHAVE_CONFIG_H -I.. -I./..
-I../libguile-ltdl -g -O2 -Wall -Wmissing-prototypes
-fno-strict-aliasing regex-posix.c | \
./guile_filter_doc_snarfage --filter-snarfage) >
regex-posix.doc || { rm regex-posix.doc; false; }
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./..
-I../libguile-ltdl -g -O2 -Wall -Wmissing-prototypes
-fno-strict-aliasing -MT guile.o -MD -MP -MF ".deps/guile.Tpo"
-c -o guile.o guile.c; \
then mv -f ".deps/guile.Tpo" ".deps/guile.Po"; else rm -f
".deps/guile.Tpo"; exit 1; fi
guile.c: In function 'main':
guile.c:91: error: array type has incomplete element type
guile.c:91: warning: unused variable 'lt_preloaded_symbols'
make[2]: *** [guile.o] Error 1
make[2]: Leaving directory
`/sources/blfs/guile-1.6.7/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/blfs/guile-1.6.7'
make: *** [all] Error 2

thank you for all your help.
 
Old 08-22-2006, 08:21 AM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,676
Blog Entries: 1

Rep: Reputation: 204Reputation: 204Reputation: 204
The configure was successful. The make was unsuccessful. Here is the actual error
Quote:
guile.c: In function 'main':
guile.c:91: error: array type has incomplete element type
There is an error in the source file guile.c in the function called 'main' at line 91 and there is an array at line 91 with incomplete element type. Looking at line 90-92 of guile.c that I just downloaded I see an array on line 91. Googling the full error message I find this mail archive that describes "exactly" your problem and a solution. Sorry I can't be more help.
 
Old 08-22-2006, 06:00 PM   #6
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by Arow
Sorry I can't be more help.
No, no thank you. You have given me exactly the answer I need. Much appreciated.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BLFS - stunnel build Lenard Spencer Linux From Scratch 1 07-19-2006 12:02 AM
Guild Wars - Linux Guild Forming andrewd18 Linux - Games 23 04-06-2006 10:08 PM
Where can I find instruction to build BLFS LiveCD satimis Linux From Scratch 12 10-22-2005 07:31 PM
problem in blfs sharmashikha Linux From Scratch 1 08-08-2005 12:37 AM
BLFS 5.0 dpkg build fails (ncurses-related error) bhaskie Linux From Scratch 2 02-07-2004 04:59 AM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration