compiling problems

Gerard Beekmans gerard at linuxfromscratch.org
Wed Jun 14 15:35:30 PDT 2000


> first of all, your book is the coolest book about linux i've ever read (ok,
> it's the first one, but it helps me very much.) But now to my problem:
> I created a new ext2 partition and began building lfs using my already
> installed SuSE Linux 6.4. But when i tried to compile gcc statically (as
> mentioned in your book: preparing lfs to install basic system software), i
> got an error message i've attached to the message in unix text format. My
> commands were:
> tar xzf /usr/src/packages/SOURCES/gcc-2.95.2.tar.gz
> mkdir gcc-build
> cd gcc-build
> ../gcc-2.95.2/configure --enable-languages=c --disable-nls
> make -e LDFLAGS=-static bootstrap
> .
> My SuSE said to gcc --version:
> 2.95.2
> What am i making wrong?

> cexp.o: In function yparse':
> /mnt/network/usr/src/gcc-build/gcc/cexp.y:213: undefined reference to
> _one_cmpldi2'
> /mnt/network/usr/src/gcc-build/gcc/cexp.y:277: undefined reference to
> _one_cmpldi2'
> /mnt/network/usr/src/gcc-build/gcc/cexp.y:283: undefined reference to
> _one_cmpldi2'
> cexp.o: In function ylex':
> /mnt/network/usr/src/gcc-build/gcc/cexp.y:712: undefined reference to
> _one_cmpldi2'

I'm afraid I can't be of much help. This error puzzles me too (doens't
help when I've never seen it before). Perhaps you can try to install all
available SuSe development packages for glibc and kernel.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
News Reader access: news.pcrdallas.com
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list