public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] glibc not compiling
@ 2002-12-26 22:03 Richard Reich
  2002-12-27 16:52 ` Martin Schlemmer
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Reich @ 2002-12-26 22:03 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

Attached you will find the output of glibc errors... I've tried emerge
world -u, emerge glibc, emerge glibc -e.  All before and after an emerge
clean.  I get the same error in any case.  Does anybody have any ideas
on what to do?

Thanks
Richard Reich



[-- Attachment #2: glibc_err.txt --]
[-- Type: text/plain, Size: 6443 bytes --]

gcc ecma-cyrillic.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=athlon-tbird -mcpu=athlon-tbird -pipe   -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -I /lib/modules/2.4.19-gentoo-r9/build/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED    -DNOT_IN_libc -o /var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/ecma-cyrillic.os
gcc gost_19768-74.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=athlon-tbird -mcpu=athlon-tbird -pipe   -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -I /lib/modules/2.4.19-gentoo-r9/build/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED    -DNOT_IN_libc -o /var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.os
In file included from 8bit-gap.c:33,
                 from gost_19768-74.c:29:
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: parse error before '-' token
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on integer constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: invalid suffix on floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: too many decimal points in floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: too many decimal points in floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: too many decimal points in floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: too many decimal points in floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: too many decimal points in floating constant
/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.h:1: too many decimal points in floating constant
In file included from 8bit-gap.c:66,
			  from gost_19768-74.c:29:
../iconv/loop.c: In function `from_gap':
../iconv/loop.c:307: `to_ucs4' undeclared (first use in this function)
../iconv/loop.c:307: (Each undeclared identifier is reported only once
../iconv/loop.c:307: for each function it appears in.)
In file included from 8bit-gap.c:100,
		   from gost_19768-74.c:29:
../iconv/loop.c: In function `to_gap':
../iconv/loop.c:307: `from_idx' undeclared (first use in this function)
../iconv/loop.c:307: `from_ucs4' undeclared (first use in this function)
../iconv/loop.c:307: warning: left-hand operand of comma expression has no effect
../iconv/loop.c: In function `to_gap_single':
../iconv/loop.c:409: `from_idx' undeclared (first use in this function)
../iconv/loop.c:409: `from_ucs4' undeclared (first use in this function)
../iconv/loop.c:409: warning: left-hand operand of comma expression has no effect
make[2]: *** [/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/iconvdata/gost_19768-74.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/iconvdata'
make[1]: *** [iconvdata/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.1-r2 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! (no error message)



[-- Attachment #3: Type: text/plain, Size: 37 bytes --]

--
gentoo-dev@gentoo.org mailing list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] glibc not compiling
  2002-12-26 22:03 [gentoo-dev] glibc not compiling Richard Reich
@ 2002-12-27 16:52 ` Martin Schlemmer
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Schlemmer @ 2002-12-27 16:52 UTC (permalink / raw
  To: Richard Reich; +Cc: Gentoo-Dev

On Fri, 2002-12-27 at 00:03, Richard Reich wrote:
> Attached you will find the output of glibc errors... I've tried emerge
> world -u, emerge glibc, emerge glibc -e.  All before and after an emerge
> clean.  I get the same error in any case.  Does anybody have any ideas
> on what to do?
> 

I have only seen this for two reasons.  First was due to using
experimental HTREE support in ext3.  Second an most probibly are
due to kernel headers.

Edit the ebuild and change src_compile to:

------------------------
src_compile() {
    local myconf=""

    # If we build for the build system we use the kernel headers from
the target
    ( use build || use sparc || use x86 ) \
        && myconf="${myconf} --with-headers=${ROOT}usr/include"
    # Set it without "build" as well, else it might use the current
kernel's
    # headers, which might just fail (the linux-headers package is
usually well
    # tested...)
---------------------------

And see if that fixes it.    


-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-27 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-26 22:03 [gentoo-dev] glibc not compiling Richard Reich
2002-12-27 16:52 ` Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox