LinuxQuestions.org
Visit Jeremy's Blog.
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
  Search this Thread
Old 11-08-2011, 12:36 PM   #1
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Rep: Reputation: 10
[miniperl] Error 1


i have problem with compiling perl
this the output of make command:
.
.
.
pp_pack.o: In function `S_pack_rec':
pp_pack.c.text+0x61aa): undefined reference to `floor'
pp_pack.c.text+0x61ce): undefined reference to `floor'
pp_pack.c.text+0x61e8): undefined reference to `floor'
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1


what's the problem guys?
 
Old 11-08-2011, 12:44 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
It would help if you posted the log file.
Have you fixed all the permission problems you had
 
Old 11-08-2011, 12:59 PM   #3
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10
yes.i fixed that
here's the log file

http://hotfile.com/dl/134524740/a0cbee6/log.txt.html


i read somewhere that it's the c compiler problem.i don't know more

also the patch in source directory didn't work:

lfs@ubuntu:/mnt/lfs/sources/perl-5.14.2$ patch -Np1 -i ../perl-5.14.2-libc-1.patch
(Stripping trailing CRs from patch.)
patching file hints/linux.sh
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 30:

Last edited by devilboy09; 11-08-2011 at 01:00 PM.
 
Old 11-08-2011, 01:11 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Ok you need the patch to work redownload check the md5sum. Also I cant read what language that file was.
Maybe try pastebin PPl wont like downloading files to there computors http://pastebin.com/
Quote:
i read somewhere that it's the c compiler problem.i don't know more
the patch as mentioned in the book fixes some c libaries
 
Old 11-08-2011, 01:33 PM   #5
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10
this is the patch from book:
http://www.linuxfromscratch.org/patc...2-libc-1.patch

i did download it and tried to patch it, twice.but it didn't work.
do you know any patches i can use?
 
Old 11-08-2011, 01:37 PM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
did you check the md5sum. are you in the untared perl dir
 
Old 11-08-2011, 01:44 PM   #7
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10
yes.i checked md5sum and i'm in untared perl dir
 
Old 11-08-2011, 02:27 PM   #8
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I cant find any answers Maybe something went wrong earlier, Maybe someone has a better insight
 
Old 11-08-2011, 03:09 PM   #9
devilboy09
Member
 
Registered: Nov 2011
Location: Iran
Distribution: Debian, CentOS, LFS, CloudLinux
Posts: 377

Original Poster
Rep: Reputation: 10
i found the problem.i had to chown it to lfs.
 
Old 11-08-2011, 03:23 PM   #10
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Ok if it,s solved mark it solved
 
  


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
[SOLVED] Google-Chrome Error (Error 9 (net::ERR_UNEXPECTED): Unknown error) smoooth103 Slackware 4 12-04-2010 07:42 PM
[SOLVED] php5 ./configure error: (FILENAME=- FNR=27) fatal error: internal error richinsc Linux - Software 2 07-08-2010 09:20 AM
Memory error: extended error chipkill ecc error rajivdp Linux - Hardware 1 12-07-2009 08:26 AM
Sendmail: eocket wedge , 504 error , dsn error, mail relay connection error djcs Debian 0 03-03-2009 12:41 AM
Suse CUPS error: cups(File)DoRequest error:client-error-bad-request smdonelan Linux - Hardware 6 04-17-2007 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:15 AM.

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