Forums: Help! Please! If You Can! - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Help! Please! If You Can! Glibc compiles problem

#1 User is offline   cd_room 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 73
  • Joined: 27-June 05

Posted 21 July 2005 - 11:23 PM

i am trying to create my own linux distro base on lfs(linux from scratch) 6.1. I manage to compile everything smoothly until glibc-2.3.5, i spend all day to work around and compile it but no good, not even google can help. I am in configuring state but it finished with an error like texis.T permission denied. :(
Anybody have any ideas & suggestion? :ph34r:
Thanks,
0

#2 User is offline   KuerbY 

  • Staff Sergeant
  • Icon
  • Group: Members
  • Posts: 254
  • Joined: 17-July 03

Posted 22 July 2005 - 03:57 AM

'Permission denied' really good help to solve your problem...
please post the last ~50 lines so we can really see wheres the problem
0

#3 User is offline   cd_room 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 73
  • Joined: 27-June 05

Posted 22 July 2005 - 08:24 AM

Hi, Kuerby.
I got this message when i was configuring glibc, i will look at configure.log file and post it here.
0

#4 User is offline   cd_room 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 73
  • Joined: 27-June 05

Posted 22 July 2005 - 12:03 PM

i am sorry, i can't find that error in log file, and now, when i just "configure" and "make" the package, this is another error:
regexec.c: In function `re_search_stub':
regexec.c:473: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [/mnt/lfs/glibc-build/glibc-2.3.5-object/posix/regex.o] Error 1
make[2]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.5/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/glibc-build/glibc-2.3.5'
make: *** [all] Error 2

i am trying glibc-2.3.5
thanks for your time
0

#5 User is offline   Serhat 

  • Second Lieutenant
  • Icon
  • Group: Members
  • Posts: 803
  • Joined: 13-January 04

Posted 22 July 2005 - 01:12 PM

regexec.c:473: internal compiler error: Segmentation fault

the compiler 'crashes'
and because of that

make[2]: *** [/mnt/lfs/glibc-build/glibc-2.3.5-object/posix/regex.o] Error 1

regex.c doesn't get compiled as regex.o which causes problems..
guess you'll need to fix that.. what gcc version are you using btw?
use 'gcc --version' to find out

PS: Could be I am mistaken.. that happens now and then heh

Serhat
0

#6 User is offline   gman24 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 643
  • Joined: 21-October 03

Posted 22 July 2005 - 03:54 PM

Post the regexec.c source code. Some problems can be resolved by a clean make, remove all the object files and recompile.
0

#7 User is offline   Nick W 

  • Master Sergeant
  • Icon
  • Group: Members
  • Posts: 1,250
  • Joined: 12-August 03

Posted 22 July 2005 - 10:36 PM

Just as a suggestion. Please avoid using "please help" as a subject. The more specific you are about what the problem is in the subject, the more likely someone is to explain it to you.
0

#8 User is offline   cd_room 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 73
  • Joined: 27-June 05

Posted 23 July 2005 - 02:56 AM

My gcc -3.3.5 and i am using kanotic (nice distros anyway). i am related new to linux and have enough of Microsoft.
Ok, i got the picure now, gcc compiler compile source code, produce object code and from this object code it turns into executabe program! Correct?
And how do i fix that? :ph34r:
0

#9 User is offline   [_-ViCiOuS-_] 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 54
  • Joined: 12-October 04

Posted 23 July 2005 - 10:17 AM

is it glibc pass 1 or pass 2?
if it is pass 2 .. were there any problems with the test suites while building the temporary system ??
if it is pass 1: remove the whole package, unpackt it , ./conf... etc

is it a stable lfs or a unstable ??
if it is a unstable , try it again with a stable version
maybe some of the libs of your "host system" are too old .. u should check it .. it they are too old, u need to update everything and build the whole lfs system again

(the best host system to build a lfs is the lfs live cd)
0

#10 User is offline   cd_room 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 73
  • Joined: 27-June 05

Posted 23 July 2005 - 12:52 PM

My system is perfectly up-to-date, kanotix, kernel 2.9.11, kde3.4. Glibc that i tried is glibc 2.3.4 and 2.3.5!! But the thing that i don't get is what is pass 1 and passs 2? Is that really important?
Any thing else that caused the problem anybody? Or maybe i should just give up and get back to Microsoft??? :ph34r: :o
0

#11 User is offline   gman24 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 643
  • Joined: 21-October 03

Posted 23 July 2005 - 08:09 PM

Edit: Nevermind
0

#12 User is offline   [_-ViCiOuS-_] 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 54
  • Joined: 12-October 04

Posted 24 July 2005 - 01:32 AM

lfs pass 1 = building the temporary system
lfs pass 2= building the real system

and yes thats important

if it is pass 2: there could be something wrong with the temporary system
if it is pass 1 the problem isn't you

i had problems with all the newer versions of lfs.. the best version for me was 6.0
0

#13 User is offline   cd_room 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 73
  • Joined: 27-June 05

Posted 24 July 2005 - 03:16 AM

i can't find the link for dowloading lfs 6.0 anywhere? Googled but no uses at all. Any body can suggest a link?
thanks you! :lol:
0

#14 User is offline   mekros 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 102
  • Joined: 12-August 03

Posted 26 July 2005 - 06:19 PM

the book

the livecd
0

#15 User is offline   cd_room 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 73
  • Joined: 27-June 05

Posted 27 July 2005 - 07:34 AM

thanks, i just got a copy LFS-6.0 version from a friend. And i can't download the live cd because i am already excess my download allowance :( . So i will continue my lfs project but in 6.0 version.
Thanks for you support everyone! :lol:
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting