* glibc-1.99 compling problem under RH 4.2
@ 1997-09-19 4:39 Koichi Kawabata
0 siblings, 0 replies; 2+ messages in thread
From: Koichi Kawabata @ 1997-09-19 4:39 UTC (permalink / raw)
Hi,
I'm compliling (so called maybe) glibc-1.99 on DEC PWS 433a (Miata)
runnung RedHat 4.2, but following errors appear and the make stops:
> make[1]: Entering directory `/usr/src/redhat/SOURCES/libc.works/signal'
> (echo '#include <sysdep.h>'; \
> echo 'PSEUDO (__sigaction, sigaction, 3)'; \
> echo ' ret'; \
> echo 'PSEUDO_END(__sigaction)'; \
> echo 'weak_alias (__sigaction, sigaction)'; \
> ) | gcc -c -I/usr/include -I../sysdeps/unix/alpha -I. -I.. -I../libio -I../sysdeps/alpha/elf -I../sysdeps/unix/sysv/linux/alpha/alpha -I../sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha/fpu -I../sysdeps/alpha -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic -I../sysdeps/stub -DUSE_NEW_MALLOC -include ../libc-symbols.h -DASSEMBLER -x assembler-with-cpp -o sigaction.o -
> : Assembler messages:
> :2: Error: non-absolute expression in constant field
> make[1]: *** [sigaction.o] Error 1
> make[1]: Leaving directory `/usr/src/redhat/SOURCES/libc.works/signal'
> make: *** [signal/subdir_lib] Error 2
I'm using the source from glibc-0.961212-5.src.rpm. At first the make
couldn't find necessary header files properly under /usr/include and
{libc.works}/sysdeps/unix/alpha even though I have a "configparms"
file as follows:
> override prefix = /usr
> override sysconfdir=/etc
> override datadir=/usr/lib
> override slibdir = /lib
>
> default_cflags = -O2
So I wrote -I options into the Makeconfig file...I know it's not a
proper action but I did it, then the errors above appeared.
Is anybody out there who successfully compliled glibc-1.99 on RedHat
4.2 system?
=---=---=---=---=---=---=---=---=---=---=---=---=---=
Koichi Kawabata
ThirdWare, inc. Japan E-Mail: kkoichi@3ware.co.jp
URL: http://www.3ware.co.jp/
=---=---=---=---=---=---=---=---=---=---=---=---=---=
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: glibc-1.99 compling problem under RH 4.2
[not found] <199709190439.NAA11207@hk.in.3ware.co.jp>
@ 1997-09-20 0:08 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1997-09-20 0:08 UTC (permalink / raw)
> > (echo '#include <sysdep.h>'; \
> > echo 'PSEUDO (__sigaction, sigaction, 3)'; \
> > echo ' ret'; \
> > echo 'PSEUDO_END(__sigaction)'; \
[...]
> > : Assembler messages:
> > :2: Error: non-absolute expression in constant field
What did you do to your kernel headers?
> So I wrote -I options into the Makeconfig file...I know it's not a
> proper action but I did it, then the errors above appeared.
Well, duh, don't do that.
While building libc, the only headers outside the libc package
itself that are used are from the kernel. It very well should
be finding them in /usr/include/{linux,asm}.
If it isn't, or if you've mucked about with /usr/src/linux
(in such ways as installing new kernel sources on top of the
old that aren't the right version or have the right patches),
chances are you'll run into problems.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-09-20 0:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-19 4:39 glibc-1.99 compling problem under RH 4.2 Koichi Kawabata
[not found] <199709190439.NAA11207@hk.in.3ware.co.jp>
1997-09-20 0:08 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox