public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] GLIB error
@ 2001-08-27  0:37 Kevin Gordon
  2001-08-27  3:49 ` Mikael Hallendal
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Gordon @ 2001-08-27  0:37 UTC (permalink / raw
  To: gentoo-dev

Hi Everyone,
I have three queries which I hope you are able to help me with:
(1) Tried to emerge portage-1.6 file not found (yesterday). Must try 1.6.1?

(2) Tried to install gftp (first emerge rsync)

configure:2778: checking for GLIB - version >= 1.2.3
configure:2877: gcc -o
conftest -mcpu=i686 -march=i686 -O3 -pipe -I/usr/include/glib-1.2 -I/usr/lib
/glib/include   conftest.c -L/usr/lib -lglib  1>&5
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:144,
                 from
/usr/lib/gcc-lib/i486-pc-linux-gnu/2.95.2/include/limits.h:117,
                 from
/usr/lib/gcc-lib/i486-pc-linux-gnu/2.95.2/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i486-pc-linux-gnu/2.95.2/include/limits.h:11,
                 from /usr/lib/glib/include/glibconfig.h:9,
                 from /usr/include/glib-1.2/glib.h:66,
                 from configure:2803:
/usr/include/bits/local_lim.h:36: linux/limits.h: No such file or directory
configure: failed program was:
#line 2801 "configure"
#include "confdefs.h"

(3) Tried to install glib

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_DISABLE
_ASSERT -DG_DISABLE_CHECKS -mcpu=i686 -march=i686 -O3 -pipe -Wall -posix -D_
REENTRANT -c giounix.c  -fPIC -DPIC -o .libs/giounix.lo
In file included from /usr/include/errno.h:36,
                 from giounix.c:37:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
giounix.c: In function `g_io_unix_read':
giounix.c:166: `EINVAL' undeclared (first use in this function)
giounix.c:166: (Each undeclared identifier is reported only once
giounix.c:166: for each function it appears in.)
giounix.c:168: `EAGAIN' undeclared (first use in this function)
giounix.c:167: warning: unreachable code at beginning of switch statement
giounix.c: In function `g_io_unix_write':
giounix.c:197: `EINVAL' undeclared (first use in this function)
giounix.c:199: `EAGAIN' undeclared (first use in this function)
giounix.c:198: warning: unreachable code at beginning of switch statement
giounix.c: In function `g_io_unix_seek':
giounix.c:243: `EINVAL' undeclared (first use in this function)
giounix.c:244: warning: unreachable code at beginning of switch statement
make[2]: *** [giounix.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/ghook.lo ghook.lo
make[2]: Leaving directory `/tmp/portage/glib-1.2.10/work/glib-1.2.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/glib-1.2.10/work/glib-1.2.10'
make: *** [all-recursive-am] Error 2

!!! ERROR: the pmake command did not complete successfully.
!!! ("pmake")
!!! Since this is a critical task, ebuild will be stopped.

!!! emerge aborting on  /usr/portage/dev-libs/glib/glib-1.2.10.ebuild .

Any suggestions most appreciated.

Regards
Kevin Gordon






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

* Re: [gentoo-dev] GLIB error
  2001-08-27  0:37 [gentoo-dev] GLIB error Kevin Gordon
@ 2001-08-27  3:49 ` Mikael Hallendal
  2001-08-27  9:16   ` Daniel Robbins
  0 siblings, 1 reply; 6+ messages in thread
From: Mikael Hallendal @ 2001-08-27  3:49 UTC (permalink / raw
  To: gentoo-dev

Den 27 Aug 2001 18:37:11 +1200 skrev Kevin Gordon:
> Hi Everyone,

Hi!

> I have three queries which I hope you are able to help me with:
> (1) Tried to emerge portage-1.6 file not found (yesterday). Must try 1.6.1?

This might have been that the file area hadn't gotten it yet. I think
that 1.6.1 should be up by now.

> (2) Tried to install gftp (first emerge rsync)
> (3) Tried to install glib

Both your problems look to be due to the lack of the kernel-headers (or
a symlink to them).

I'm not sure about this but if I'm wrong please correct me.

Make sure that you have either kernel-headers or kernel-sources.

/usr/include/linux should be a link to /usr/src/linux/include/linux.

If you have /usr/src/linux/include/linux but not /usr/include/linux you
can make this symlink manually.

* Become root
* cd /usr/include
* ln -s /usr/src/linux/include/linux

This should solve both problems (2) and (3).

Good luck,
  Mikael Hallendal
 
-- 

Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
CodeFactory AB, Stockholm, Sweden





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

* Re: [gentoo-dev] GLIB error
  2001-08-27  3:49 ` Mikael Hallendal
@ 2001-08-27  9:16   ` Daniel Robbins
  2001-08-27 10:24     ` Mikael Hallendal
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Robbins @ 2001-08-27  9:16 UTC (permalink / raw
  To: gentoo-dev

On Mon, Aug 27, 2001 at 11:49:13AM +0000, Mikael Hallendal wrote:

> /usr/include/linux should be a link to /usr/src/linux/include/linux.

Under rc5, this is correct, but under rc6 this is not true anymore.
/usr/include/linux and /usr/include/asm contains headers that glibc
were compiled with, and stay constant.

-- 
Daniel Robbins					<drobbins@gentoo.org>
Chief Architect/President			http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

* Re: [gentoo-dev] GLIB error
  2001-08-27  9:16   ` Daniel Robbins
@ 2001-08-27 10:24     ` Mikael Hallendal
  2001-08-28 23:40       ` Daniel Robbins
  2001-08-31 15:24       ` Kevin Gordon
  0 siblings, 2 replies; 6+ messages in thread
From: Mikael Hallendal @ 2001-08-27 10:24 UTC (permalink / raw
  To: gentoo-dev

Den 27 Aug 2001 09:15:57 -0600 skrev Daniel Robbins:
> On Mon, Aug 27, 2001 at 11:49:13AM +0000, Mikael Hallendal wrote:
> 
> > /usr/include/linux should be a link to /usr/src/linux/include/linux.
> 
> Under rc5, this is correct, but under rc6 this is not true anymore.
> /usr/include/linux and /usr/include/asm contains headers that glibc
> were compiled with, and stay constant.

Ok, so if this is a rc6-system it seems broken, how should it be fixed?

Regards,
  Mikael Hallendal

-- 

Mikael Hallendal
Gentoo Linux Developer, Desktop Team Leader
CodeFactory AB, Stockholm, Sweden





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

* Re: [gentoo-dev] GLIB error
  2001-08-27 10:24     ` Mikael Hallendal
@ 2001-08-28 23:40       ` Daniel Robbins
  2001-08-31 15:24       ` Kevin Gordon
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Robbins @ 2001-08-28 23:40 UTC (permalink / raw
  To: gentoo-dev

On Mon, Aug 27, 2001 at 06:24:09PM +0000, Mikael Hallendal wrote:
> Den 27 Aug 2001 09:15:57 -0600 skrev Daniel Robbins:
> > On Mon, Aug 27, 2001 at 11:49:13AM +0000, Mikael Hallendal wrote:
> > 
> > > /usr/include/linux should be a link to /usr/src/linux/include/linux.
> > 
> > Under rc5, this is correct, but under rc6 this is not true anymore.
> > /usr/include/linux and /usr/include/asm contains headers that glibc
> > were compiled with, and stay constant.
> 
> Ok, so if this is a rc6-system it seems broken, how should it be fixed?

Emerge the sys-kernel/linux-headers package :)

-- 
Daniel Robbins					<drobbins@gentoo.org>
Chief Architect/President			http://www.gentoo.org 
Gentoo Technologies, Inc.			



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

* Re: [gentoo-dev] GLIB error
  2001-08-27 10:24     ` Mikael Hallendal
  2001-08-28 23:40       ` Daniel Robbins
@ 2001-08-31 15:24       ` Kevin Gordon
  1 sibling, 0 replies; 6+ messages in thread
From: Kevin Gordon @ 2001-08-31 15:24 UTC (permalink / raw
  To: gentoo-dev

Thank you Mikael for your help.

I think my problems started with installing a new kernel 2.4.6 which would
not boot.
However I tried to install again this morning:
>emerge rsync
>rm -rf /tmp/portage/*
>cd /usr/portage/sys-apps/portage
>emerge portage-1.6.4.ebuild
>vi /etc/make.conf    (changed to i686)
>cd /usr/portage/sys-kernel/linux-sources
>emerge linux-sources-2.4.6.ebuild
>cp /usr/portage/sys-kernel/linux-sources/files/2.4.5-r1/config.bootcomp
/usr/src/linux/.config
>cd /usr/src/linux
>make menuconfig   (removed "Video for linux" added i686, SMP, Amateur
Radio)
>make dep
>make clean
>make bzImage
>make modules
>make modules_install    (error - Unresolved symbols in
/lib/modules/2.4.1-pre8/kernel/drivers/net/pcmcia/.......This did not happen
the first time I tried to compile the kernel)
The first time I continued:
>depmod -a
>mount /dev/sda11/boot
>cp /usr/src/linux/arch/i386/boot/bzImage /boot/boot/bzImage246
>vi /etc/lilo.conf   (added bzImage246)
>/sbin/lilo   (The new kernel appeared to start but hung)

I am guessing that the GLIB problem is a result of my first try to install
the additional kernel. Comments please?

Regards,
Kevin Gordon



----- Original Message -----
From: "Mikael Hallendal" <hallski@gentoo.org>
To: <gentoo-dev@cvs.gentoo.org>
Sent: Tuesday, August 28, 2001 6:24 AM
Subject: Re: [gentoo-dev] GLIB error


> Den 27 Aug 2001 09:15:57 -0600 skrev Daniel Robbins:
> > On Mon, Aug 27, 2001 at 11:49:13AM +0000, Mikael Hallendal wrote:
> >
> > > /usr/include/linux should be a link to /usr/src/linux/include/linux.
> >
> > Under rc5, this is correct, but under rc6 this is not true anymore.
> > /usr/include/linux and /usr/include/asm contains headers that glibc
> > were compiled with, and stay constant.
>
> Ok, so if this is a rc6-system it seems broken, how should it be fixed?
>
> Regards,
>   Mikael Hallendal
>
> --
>
> Mikael Hallendal
> Gentoo Linux Developer, Desktop Team Leader
> CodeFactory AB, Stockholm, Sweden
>
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
>




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

end of thread, other threads:[~2001-08-31 21:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-27  0:37 [gentoo-dev] GLIB error Kevin Gordon
2001-08-27  3:49 ` Mikael Hallendal
2001-08-27  9:16   ` Daniel Robbins
2001-08-27 10:24     ` Mikael Hallendal
2001-08-28 23:40       ` Daniel Robbins
2001-08-31 15:24       ` Kevin Gordon

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