LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-16-2007, 06:06 AM   #1
leedude
Member
 
Registered: Jan 2007
Location: Scotland
Distribution: Fedora, Debian
Posts: 81

Rep: Reputation: 15
LFS problem


Hi, am trying to build linuxfromscratch. i am just at the first compile of glibc-2.3.6, and i get this weird error in the ./configure stage:

Code:
../glibc-2.3.6/configure --prefix=/tools/     --disable-profile --enable-add-ons     --enable-kernel=2.6.0 --with-binutils=/tools/bin     --without-gd --with-headers=/tools/include     --without-selinux
....
....
....
....
....
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.
i have found many references on the web to this, but am yet to find an answer. I am building from a fedora core 6 host system, and have followed the guide as precisely as i can.

please help.
 
Old 01-16-2007, 03:14 PM   #2
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL, Ubuntu
Posts: 225

Rep: Reputation: 31
Try this link

LFS Support Link
 
Old 01-27-2007, 08:44 AM   #3
redeye1
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Rep: Reputation: 0
FATAL: kernel too old

Hello dude
I am doing LFS for my project (My college minor project ) to build my own Distro. Now this is my 3rd time when I am going to build this and I was faced this problem in 5th Chapter.I am using Red Hat-9 version.


code:
CPP='gcc -B/tools/bin/ -E -x c-header' /mnt/lfs/sources/glibc-build/elf/ld-linux.so.2 --library-path /mnt/lfs/sources/glibc-build:/mnt/lfs/sources/glibc-build/math:/mnt/lfs/sources/glibc-build/elf:/mnt/lfs/sources/glibc-build/dlfcn:/mnt/lfs/sources/glibc-build/nss:/mnt/lfs/sources/glibc-build/nis:/mnt/lfs/sources/glibc-build/rt:/mnt/lfs/sources/glibc-build/resolv:/mnt/lfs/sources/glibc-build/crypt:/mnt/lfs/sources/glibc-build/nptl /mnt/lfs/sources/glibc-build/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /mnt/lfs/sources/glibc-build/sunrpc/xbootparam_prot.T
FATAL: kernel too old
make[2]: *** [/mnt/lfs/sources/glibc-build/sunrpc/xbootparam_prot.stmp] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-build/glibc-2.3.6/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-build/glibc-2.3.6'
make: *** [all] Error 2
root:/mnt/lfs/sources/glibc-build#
 
Old 01-28-2007, 03:36 PM   #4
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
Dear Mr. [or Ms/Mrs?] leedude,
I faced axactly the same problem some time ago.
I do not remember exactly what it was about, but it had to do with the links within the temporary toolchain. Probably, something with the /bin directory in the toolschain and in the host system.
Not sure it helps, but still like to know about your progress.

Vitalie CIUBOTARU
P.S.: [Just a thought] redeye1, your post definitely does not contain an answer to leedude's question, nor does it contain a question in itself. Consider revising your post or opening a new thread.

Last edited by Vitalie Ciubotaru; 01-28-2007 at 03:40 PM.
 
Old 01-28-2007, 09:47 PM   #5
Angeliqe
LQ Newbie
 
Registered: Jan 2007
Posts: 22

Rep: Reputation: 15
And what does config.log say?
 
Old 02-21-2007, 03:27 AM   #6
zalmaygul
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Hi respected memeber

I am having the problem while compiling glibc package from lfs 6.2
The error message is given bellow

FATAL: kernel too old
make[2]: *** [/mnt/lfs/sources/glibc-build/sunrpc/xbootparam_prot.stmp] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-build/glibc-2.3.6/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-build/glibc-2.3.6'
make: *** [all] Error 2
root:/mnt/lfs/sources/glibc-build#

Any help will be greately appreciated

Zalmay
 
Old 02-21-2007, 04:28 AM   #7
zalmaygul
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ../glibc-2.3.6/configure --prefix=/tools --disable-profile --enable-add-ons --enable-kernel=2.6.0 --with-binutils=/tools/bin --without-gd --with-headers=/tools/include --without-selinux

## --------- ##
## Platform. ##
## --------- ##

hostname = sawaira
uname -m = i686
uname -r = 2.4.20-8
uname -s = Linux
uname -v = #1 Thu Mar 13 17:54:28 EST 2003

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /tools/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/java/j2sdk1.4.2_04/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1706: checking build system type
configure:1724: result: i686-pc-linux-gnu
configure:1732: checking host system type
configure:1746: result: i686-pc-linux-gnu
configure:1878: result: running configure fragment for add-on nptl
configure:1998: checking sysdep dirs
configure:2214: result: sysdeps/generic/elf sysdeps/generic
configure:2233: checking for a BSD-compatible install
configure:2288: result: /usr/bin/install -c
configure:2303: checking whether ln -s works
configure:2307: result: yes
configure:2361: checking for gcc
configure:2377: found /tools/bin/gcc
configure:2387: result: gcc
configure:2631: checking for C compiler version
configure:2634: gcc --version </dev/null >&5
gcc (GCC) 4.0.3
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2637: $? = 0
configure:2639: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0.3/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c
Thread model: posix
gcc version 4.0.3
configure:2642: $? = 0
configure:2644: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2647: $? = 1
configure:2651: checking for suffix of object files
configure:2672: gcc -c conftest.c >&5
configure:2675: $? = 0
configure:2697: result: o
configure:2701: checking whether we are using the GNU C compiler
configure:2725: gcc -c conftest.c >&5
configure:2731: $? = 0
configure:2735: test -z
|| test ! -s conftest.err
configure:2738: $? = 0
configure:2741: test -s conftest.o
configure:2744: $? = 0
configure:2757: result: yes
configure:2763: checking whether gcc accepts -g
configure:2784: gcc -c -g conftest.c >&5
configure:2790: $? = 0
configure:2794: test -z
|| test ! -s conftest.err
configure:2797: $? = 0
configure:2800: test -s conftest.o
configure:2803: $? = 0
configure:2814: result: yes
configure:2831: checking for gcc option to accept ANSI C
configure:2901: gcc -c -g -O2 conftest.c >&5
configure:2907: $? = 0
configure:2911: test -z
|| test ! -s conftest.err
configure:2914: $? = 0
configure:2917: test -s conftest.o
configure:2920: $? = 0
configure:2938: result: none needed
configure:2956: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:2962: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3143: checking how to run the C preprocessor
configure:3178: gcc -E conftest.c
configure:3184: $? = 0
configure:3216: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3222: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3261: result: gcc -E
configure:3285: gcc -E conftest.c
configure:3291: $? = 0
configure:3323: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3329: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3425: checking for g++
configure:3441: found /usr/bin/g++
configure:3451: result: g++
configure:3467: checking for C++ compiler version
configure:3470: g++ --version </dev/null >&5
g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3473: $? = 0
configure:3475: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
configure:3478: $? = 0
configure:3480: g++ -V </dev/null >&5
g++: argument to `-V' missing

configure:3483: $? = 1
configure:3486: checking whether we are using the GNU C++ compiler
configure:3510: g++ -c conftest.cc >&5
configure:3516: $? = 0
configure:3520: test -z
|| test ! -s conftest.err
configure:3523: $? = 0
configure:3526: test -s conftest.o
configure:3529: $? = 0
configure:3542: result: yes
configure:3548: checking whether g++ accepts -g
configure:3569: g++ -c -g conftest.cc >&5
configure:3575: $? = 0
configure:3579: test -z
|| test ! -s conftest.err
configure:3582: $? = 0
configure:3585: test -s conftest.o
configure:3588: $? = 0
configure:3599: result: yes
configure:3641: g++ -c -g -O2 conftest.cc >&5
configure:3647: $? = 0
configure:3651: test -z
|| test ! -s conftest.err
configure:3654: $? = 0
configure:3657: test -s conftest.o
configure:3660: $? = 0
configure:3686: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:14: `exit' undeclared (first use this function)
conftest.cc:14: (Each undeclared identifier is reported only once for each
function it appears in.)
configure:3692: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3641: g++ -c -g -O2 conftest.cc >&5
configure:3647: $? = 0
configure:3651: test -z
|| test ! -s conftest.err
configure:3654: $? = 0
configure:3657: test -s conftest.o
configure:3660: $? = 0
configure:3686: g++ -c -g -O2 conftest.cc >&5
configure:3692: $? = 0
configure:3696: test -z
|| test ! -s conftest.err
configure:3699: $? = 0
configure:3702: test -s conftest.o
configure:3705: $? = 0
configure:3832: checking whether /tools/bin/as is GNU as
configure:3846: result: yes
configure:3851: checking whether /tools/bin/ld is GNU ld
configure:3865: result: yes
configure:3875: checking for /tools/bin/as
configure:3901: result: /tools/bin/as
configure:3915: checking version of /tools/bin/as
configure:3925: result: 2.16.1, ok
configure:3936: checking for /tools/bin/ld
configure:3962: result: /tools/bin/ld
configure:3976: checking version of /tools/bin/ld
configure:3986: result: 2.16.1, ok
configure:4001: checking for pwd
configure:4019: found /bin/pwd
configure:4032: result: /bin/pwd
configure:4051: checking for gcc
configure:4077: result: gcc -B/tools/bin/
configure:4091: checking version of gcc -B/tools/bin/
configure:4101: result: 4.0.3, ok
configure:4112: checking for gnumake
configure:4141: result: no
configure:4112: checking for gmake
configure:4128: found /usr/bin/gmake
configure:4138: result: gmake
configure:4152: checking version of gmake
configure:4162: result: 3.79.1, ok
configure:4174: checking for gnumsgfmt
configure:4203: result: no
configure:4174: checking for gmsgfmt
configure:4203: result: no
configure:4174: checking for msgfmt
configure:4190: found /usr/bin/msgfmt
configure:4200: result: msgfmt
configure:4214: checking version of msgfmt
configure:4224: result: 0.11.4, ok
configure:4235: checking for makeinfo
configure:4251: found /usr/bin/makeinfo
configure:4261: result: makeinfo
configure:4275: checking version of makeinfo
configure:4285: result: 4.3, ok
configure:4296: checking for sed
configure:4312: found /bin/sed
configure:4322: result: sed
configure:4336: checking version of sed
configure:4346: result: 4.0.5, ok
configure:4358: checking for autoconf
configure:4374: found /usr/bin/autoconf
configure:4384: result: autoconf
configure:4398: checking whether autoconf works
configure:4409: result: yes
configure:4447: checking whether ranlib is necessary
configure:4468: result: no
configure:4481: checking LD_LIBRARY_PATH variable
configure:4491: result: ok
configure:4505: checking whether GCC supports -static-libgcc
configure:4516: result: -static-libgcc
configure:4522: checking for bash
configure:4553: result: /bin/sh
configure:4626: checking for gawk
configure:4642: found /bin/gawk
configure:4652: result: gawk
configure:4664: checking for perl
configure:4682: found /usr/bin/perl
configure:4695: result: /usr/bin/perl
configure:4708: checking for install-info
configure:4727: found /sbin/install-info
configure:4740: result: /sbin/install-info
configure:4749: checking for bison
configure:4768: found /usr/bin/bison
configure:4781: result: /usr/bin/bison
configure:4789: checking for signed size_t type
configure:4804: result: no
configure:4814: checking for libc-friendly stddef.h
configure:4843: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:25: warning: incompatible implicit declaration of built-in function 'abort'
configure:4849: $? = 0
configure:4853: test -z
|| test ! -s conftest.err
configure:4856: $? = 0
configure:4859: test -s conftest.o
configure:4862: $? = 0
configure:4873: result: yes
configure:4880: checking whether we need to use -P to assemble .S files
configure:4890: gcc -B/tools/bin/ -c conftest.S 1>&5
configure:4893: $? = 0
configure:4901: result: no
configure:4908: checking whether .text pseudo-op must be used
configure:4918: gcc -B/tools/bin/ -c conftest.s 1>&5
configure:4921: $? = 0
configure:4932: result: yes
configure:4936: checking for assembler global-symbol directive
configure:4949: gcc -B/tools/bin/ -c conftest.s 1>&5
configure:4952: $? = 0
configure:4960: result: .globl
configure:4973: checking for .set assembler directive
configure:4999: result: yes
configure:5008: checking for assembler .type directive prefix
configure:5024: gcc -B/tools/bin/ -c conftest.s 1>&5
configure:5027: $? = 0
configure:5035: result: @
configure:5044: checking for .symver assembler directive
configure:5061: result: yes
configure:5063: checking for ld --version-script
configure:5089: gcc -B/tools/bin/ -g -O2 -shared
-o conftest.so conftest.o
-nostartfiles -nostdlib
-Wl,--version-script,conftest.map
1>&5
configure:5092: $? = 0
configure:5107: result: yes
configure:5131: checking for .previous assembler directive
configure:5141: gcc -B/tools/bin/ -c conftest.s 1>&5
configure:5144: $? = 0
configure:5152: result: yes
configure:5190: checking for .protected and .hidden assembler directive
configure:5202: gcc -B/tools/bin/ -c conftest.s 1>&5
configure:5205: $? = 0
configure:5213: result: yes
configure:5226: checking whether __attribute__((visibility())) is supported
configure:5237: gcc -B/tools/bin/ -Werror -S conftest.c -o conftest.s 1>&5
configure:5240: $? = 0
configure:5251: result: yes
configure:5262: checking for broken __attribute__((visibility()))
configure:5274: gcc -B/tools/bin/ -Werror -S conftest.c -o conftest.s1>&5
configure:5277: $? = 0
configure:5286: result: no
configure:5296: checking for broken __attribute__((alias()))
configure:5311: gcc -B/tools/bin/ -Werror -S conftest.c -o conftest.s 1>&5
configure:5314: $? = 0
configure:5324: result: no
configure:5334: checking whether to put _rtld_local into .sdata section
configure:5348: result: no
configure:5358: checking for .preinit_array/.init_array/.fini_array support
configure:5371: gcc -B/tools/bin/ -g -O2 -o conftest conftest.c
-static -nostartfiles -nostdlib 1>&5
configure:5374: $? = 0
configure:5387: result: yes
configure:5397: checking for libunwind-support in compiler
configure:5414: result: no
configure:5424: checking for -z nodelete option
configure:5436: gcc -B/tools/bin/ -g -O2
-shared -o conftest.so conftest.c
-nostartfiles -nostdlib
-Wl,--enable-new-dtags,-z,nodelete 1>&5
configure:5439: $? = 0
configure:5448: result: yes
configure:5452: checking for -z nodlopen option
configure:5464: gcc -B/tools/bin/ -g -O2
-shared -o conftest.so conftest.c
-nostartfiles -nostdlib
-Wl,--enable-new-dtags,-z,nodlopen 1>&5
configure:5467: $? = 0
configure:5476: result: yes
configure:5480: checking for -z initfirst option
configure:5492: gcc -B/tools/bin/ -g -O2
-shared -o conftest.so conftest.c
-nostartfiles -nostdlib
-Wl,--enable-new-dtags,-z,initfirst 1>&5
configure:5495: $? = 0
configure:5504: result: yes
configure:5508: checking for -z relro option
configure:5515: gcc -B/tools/bin/ -v --help 2>&1|grep z relro 1>&5
-z relro Create RELRO program header
configure:5518: $? = 0
configure:5522: gcc -B/tools/bin/ -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5
. = DATA_SEGMENT_RELRO_END (12, .);
configure:5525: $? = 0
configure:5532: result: yes
configure:5542: checking for -Bgroup option
configure:5553: gcc -B/tools/bin/ -g -O2
-shared -o conftest.so conftest.c
-Wl,-Bgroup -nostdlib 1>&5
configure:5556: $? = 0
configure:5565: result: yes
configure:5569: checking for libgcc_s suffix
configure:5583: result:
configure:5587: checking for --as-needed option
configure:5599: gcc -B/tools/bin/ -g -O2
-shared -o conftest.so conftest.c
-lgcc_s -Wl,--as-needed
-nostdlib 1>&5
configure:5602: $? = 0
configure:5611: result: yes
configure:5616: checking whether --noexecstack is desirable for .S files
configure:5626: gcc -B/tools/bin/ -g -O2
-S -o conftest.s conftest.c 1>&5
configure:5629: $? = 0
configure:5634: gcc -B/tools/bin/ -g -O2 -Wa,--noexecstack
-c -o conftest.o conftest.s 1>&5
configure:5637: $? = 0
configure:5646: result: yes
configure:5653: checking for -z combreloc
configure:5667: gcc -B/tools/bin/ -g -O2
-shared -o conftest.so conftest.c
-nostdlib -nostartfiles
-Wl,-z,combreloc 1>&5
configure:5670: $? = 0
configure:5683: result: yes
configure:5693: checking for -z execstack
configure:5705: gcc -B/tools/bin/ -g -O2
-shared -o conftest.so conftest.c
-Wl,-z,execstack -nostdlib
1>&5
configure:5708: $? = 0
configure:5717: result: yes
configure:5721: checking for -fpie
configure:5732: gcc -B/tools/bin/ -g -O2 -pie -fpie
-o conftest conftest.c 1>&5
/tools/bin/ld: Scrt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:5735: $? = 1
configure:5744: result: no
configure:5750: checking for -fno-unit-at-a-time
configure:5760: gcc -B/tools/bin/ -g -O2 -S -fno-unit-at-a-time
conftest.c 1>&5
configure:5763: $? = 0
configure:5772: result: yes
configure:5844: checking whether cc puts quotes around section names
configure:5865: result: no
configure:5982: checking for assembler .weak directive
configure:5995: gcc -B/tools/bin/ -c conftest.s 1>&5
configure:5998: $? = 0
configure:6006: result: yes
configure:6053: checking whether CFI directives are supported
configure:6068: gcc -B/tools/bin/ -c conftest.s 1>&5
configure:6071: $? = 0
configure:6079: result: yes
configure:6088: checking if -g produces usable source locations for assembler-with-cpp
configure:6111: gcc -B/tools/bin/ -g -c conftest.S 1>&5
configure:6114: $? = 0
configure:6119: readelf --debug-dump=line conftest.o |
grep conftest\.S 1>&5
1 0 0 0 conftest.S
configure:6122: $? = 0
configure:6131: result: yes
configure:6140: checking for ld --no-whole-archive
configure:6153: gcc -B/tools/bin/ -g -O2
-nostdlib -nostartfiles -Wl,--no-whole-archive
-o conftest conftest.c 1>&5
configure:6156: $? = 0
configure:6164: result: yes
configure:6170: checking for gcc -fexceptions
configure:6183: gcc -B/tools/bin/ -g -O2
-nostdlib -nostartfiles -fexceptions
-o conftest conftest.c 1>&5
configure:6186: $? = 0
configure:6194: result: yes
configure:6264: checking for DWARF2 unwind info support
configure:6302: gcc -B/tools/bin/ -g -O2 -DCHECK__register_frame_info -nostdlib -nostartfiles -o conftest conftest.c -lgcc >&5
configure:6284: warning: conflicting types for built-in function 'malloc'
configure: In function 'strcmp':
configure:6285: warning: number of arguments doesn't match built-in prototype
configure: At top level:
configure:6286: warning: conflicting types for built-in function 'strlen'
configure:6287: warning: conflicting types for built-in function 'memcpy'
configure:6288: warning: conflicting types for built-in function 'memset'
configure:6290: warning: conflicting types for built-in function 'abort'
/tmp/ccUCnq6p.o: In function `_start':
/mnt/lfs/sources/glibc-build/configure:6277: undefined reference to `__register_frame_info'
/mnt/lfs/sources/glibc-build/configure:6278: undefined reference to `__deregister_frame_info'
collect2: ld returned 1 exit status
configure:6305: $? = 1
configure:6308: gcc -B/tools/bin/ -g -O2 -DCHECK__register_frame_info -nostdlib -nostartfiles -o conftest conftest.c -lgcc -lgcc_eh -lgcc >&5
configure:6284: warning: conflicting types for built-in function 'malloc'
configure: In function 'strcmp':
configure:6285: warning: number of arguments doesn't match built-in prototype
configure: At top level:
configure:6286: warning: conflicting types for built-in function 'strlen'
configure:6287: warning: conflicting types for built-in function 'memcpy'
configure:6288: warning: conflicting types for built-in function 'memset'
configure:6290: warning: conflicting types for built-in function 'abort'
configure:6311: $? = 0
configure:6339: result: no_registry_needed
configure:6360: checking for __builtin_expect
configure:6375: gcc -B/tools/bin/ -g -O2 -nostdlib -nostartfiles
-o conftest conftest.c -lgcc >&5
/tools/bin/ld: warning: cannot find entry symbol _start; defaulting to 080480a0
configure:6378: $? = 0
configure:6386: result: yes
configure:6395: checking for __builtin_memset
configure:6407: gcc -B/tools/bin/ -O3 -S conftest.c -o - | fgrep memset > /dev/null
configure:6410: $? = 0
configure:6419: result: no
configure:6428: checking for redirection of built-in functions
configure:6441: gcc -B/tools/bin/ -O3 -S conftest.c -o - | fgrep my_strstr > /dev/null
configure:6444: $? = 0
configure:6453: result: yes
configure:6462: checking for local label subtraction
configure:6482: gcc -B/tools/bin/ -g -O2 -nostdlib -nostartfiles
-o conftest conftest.c -lgcc >&5
 
Old 02-21-2007, 04:29 AM   #8
zalmaygul
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
/tools/bin/ld: warning: cannot find entry symbol _start; defaulting to 080480a0
configure:6485: $? = 0
configure:6493: result: yes
configure:6503: checking for __thread
configure:6512: gcc -B/tools/bin/ -g -O2 -c conftest.c >&5
configure:6515: $? = 0
configure:6523: result: yes
configure:6536: checking for tls_model attribute
configure:6545: gcc -B/tools/bin/ -g -O2 -S -Werror conftest.c >&5
configure:6548: $? = 0
configure:6556: result: yes
configure:6566: checking for libgd
configure:6627: result: no
configure:6862: checking for egrep
configure:6872: result: grep -E
configure:6877: checking for ANSI C header files
configure:6902: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:6908: $? = 0
configure:6912: test -z
|| test ! -s conftest.err
configure:6915: $? = 0
configure:6918: test -s conftest.o
configure:6921: $? = 0
configure:7007: gcc -B/tools/bin/ -o conftest -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:50: warning: incompatible implicit declaration of built-in function 'exit'
configure:7010: $? = 0
configure:7012: ./conftest
configure:7015: $? = 0
configure:7030: result: yes
configure:7054: checking for sys/types.h
configure:7070: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7076: $? = 0
configure:7080: test -z
|| test ! -s conftest.err
configure:7083: $? = 0
configure:7086: test -s conftest.o
configure:7089: $? = 0
configure:7100: result: yes
configure:7054: checking for sys/stat.h
configure:7070: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7076: $? = 0
configure:7080: test -z
|| test ! -s conftest.err
configure:7083: $? = 0
configure:7086: test -s conftest.o
configure:7089: $? = 0
configure:7100: result: yes
configure:7054: checking for stdlib.h
configure:7070: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7076: $? = 0
configure:7080: test -z
|| test ! -s conftest.err
configure:7083: $? = 0
configure:7086: test -s conftest.o
configure:7089: $? = 0
configure:7100: result: yes
configure:7054: checking for string.h
configure:7070: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7076: $? = 0
configure:7080: test -z
|| test ! -s conftest.err
configure:7083: $? = 0
configure:7086: test -s conftest.o
configure:7089: $? = 0
configure:7100: result: yes
configure:7054: checking for memory.h
configure:7070: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7076: $? = 0
configure:7080: test -z
|| test ! -s conftest.err
configure:7083: $? = 0
configure:7086: test -s conftest.o
configure:7089: $? = 0
configure:7100: result: yes
configure:7054: checking for strings.h
configure:7070: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7076: $? = 0
configure:7080: test -z
|| test ! -s conftest.err
configure:7083: $? = 0
configure:7086: test -s conftest.o
configure:7089: $? = 0
configure:7100: result: yes
configure:7054: checking for inttypes.h
configure:7070: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7076: $? = 0
configure:7080: test -z
|| test ! -s conftest.err
configure:7083: $? = 0
configure:7086: test -s conftest.o
configure:7089: $? = 0
configure:7100: result: yes
configure:7054: checking for stdint.h
configure:7070: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7076: $? = 0
configure:7080: test -z
|| test ! -s conftest.err
configure:7083: $? = 0
configure:7086: test -s conftest.o
configure:7089: $? = 0
configure:7100: result: yes
configure:7054: checking for unistd.h
configure:7070: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7076: $? = 0
configure:7080: test -z
|| test ! -s conftest.err
configure:7083: $? = 0
configure:7086: test -s conftest.o
configure:7089: $? = 0
configure:7100: result: yes
configure:7112: checking for long double
configure:7136: gcc -B/tools/bin/ -c -g -O2 conftest.c >&5
configure:7142: $? = 0
configure:7146: test -z
|| test ! -s conftest.err
configure:7149: $? = 0
configure:7152: test -s conftest.o
configure:7155: $? = 0
configure:7166: result: yes
configure:7169: checking size of long double
configure:7488: gcc -B/tools/bin/ -o conftest -g -O2 conftest.c >&5
configure:7491: $? = 0
configure:7493: ./conftest
configure:7496: $? = 0
configure:7519: result: 12
configure:7548: result: running configure fragment for sysdeps/i386/elf
configure:7: checking for i386 TLS support
configure:29: gcc -B/tools/bin/ -c -g -O2 conftest.s 1>&5
configure:32: $? = 0
configure:40: result: yes
configure:7548: result: running configure fragment for nptl/sysdeps/unix/sysv/linux
configure:7548: result: running configure fragment for nptl/sysdeps/pthread
configure:27: checking for forced unwind support
configure:51: gcc -B/tools/bin/ -o conftest -g -O2 conftest.c >&5
configure:57: $? = 0
configure:61: test -z
|| test ! -s conftest.err
configure:64: $? = 0
configure:67: test -s conftest
configure:70: $? = 0
configure:82: result: yes
configure:91: checking for C cleanup handling
configure:116: gcc -B/tools/bin/ -o conftest -g -O2 -Werror -fexceptions conftest.c >&5
configure:122: $? = 0
configure:126: test -z
|| test ! -s conftest.err
configure:129: $? = 0
configure:132: test -s conftest
configure:135: $? = 0
configure:147: result: yes
configure:7548: result: running configure fragment for sysdeps/pthread
configure:7548: result: running configure fragment for sysdeps/unix/sysv/linux
configure:25: checking for egrep
configure:35: result: grep -E
configure:40: checking installed Linux kernel header files
configure:65: result: 2.0.10 or later
configure:169: checking for kernel header at least 2.6.0
configure:192: result: ok
configure:354: checking for symlinks in /tools/include
configure:376: result: ok
configure:7548: result: running configure fragment for sysdeps/unix/common
configure:7548: result: running configure fragment for sysdeps/unix
configure:7548: result: running configure fragment for sysdeps/generic
configure:7647: checking for old glibc 2.0.x headers
configure:7655: result: no
configure:7719: checking whether -fPIC is default
configure:7735: result: no
configure:7865: creating ./config.status
 
Old 02-21-2007, 06:56 AM   #9
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
For original question : http://www.linuxquestions.org/questi...d.php?t=526738

For the other question : thread hijacking is bad !

(and I know the cause of your error ...)


As I'm in a good mood, I'll answer the question, but please be careful next time to open a new thread for a new question !!!

You cannot build a glibc 2.3.6 with a 2.4 kernel (because of a new threading model) ... You'll have to upgrade your kernel before trying again ...
 
  


Reply

Tags
configure, glibc, lfs, linux



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
LFS 6.2: made mistake when going from lfs to root setup oldgeek Linux From Scratch 4 11-12-2006 09:00 PM
LFS question - lack of activity in LFS Forum nykey Slackware 4 06-05-2006 05:54 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
lfs 4.1 problem +pl help saurav_gohain Linux From Scratch 2 07-10-2003 11:51 PM

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

All times are GMT -5. The time now is 12:53 PM.

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