mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* problem with devfsd compilation
@ 2001-02-01 18:37 hiren_mehta
  2001-02-01 18:44 ` Georg Nikodym
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: hiren_mehta @ 2001-02-01 18:37 UTC (permalink / raw)
  To: linux-kernel

Hi,

I am trying to compile devfsd on my system running RedHat linux 7.0
(kernel 2.2.16-22). I get the error "RTLD_NEXT" undefined. I am not
sure where this symbol is defined. Is there anything that I am missing 
on my system. 

Also, I applied the devfs patch to the kernel, installed the new
kernel, modified lilo.conf, ran lilo and rebooted the system
with the  option "devfs=nomount". The system is able to mount
the root file system in readonly mode. But after that when
it tries to do fsck to the root file system before mounting 
it in "rw" mode, it fails. Looks like devfs seems to be
having a problem with my /etc/fstab. My /etc/fstab has device names
specified in the "LABEL=.." format. Does devfs understand LABEL=..
format ?

Any help is appreciated.

-hiren
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: problem with devfsd compilation
  2001-02-01 18:37 problem with devfsd compilation hiren_mehta
@ 2001-02-01 18:44 ` Georg Nikodym
  2001-02-01 18:45 ` Alan Cox
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Georg Nikodym @ 2001-02-01 18:44 UTC (permalink / raw)
  To: hiren_mehta; +Cc: linux-kernel

>>>>> "hm" == hiren mehta <hiren_mehta@agilent.com> writes:

 hm> Hi, I am trying to compile devfsd on my system running RedHat
 hm> linux 7.0 (kernel 2.2.16-22). I get the error "RTLD_NEXT"
 hm> undefined. I am not sure where this symbol is defined. Is there
 hm> anything that I am missing on my system.

make CEXTRAS=-D_GNU_SOURCE

is one way to get around this.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: problem with devfsd compilation
  2001-02-01 18:37 problem with devfsd compilation hiren_mehta
  2001-02-01 18:44 ` Georg Nikodym
@ 2001-02-01 18:45 ` Alan Cox
  2001-02-02  6:25   ` Michael B. Trausch
  2001-02-01 18:52 ` Georg Nikodym
  2001-02-02  8:21 ` problem " Michael B. Trausch
  3 siblings, 1 reply; 7+ messages in thread
From: Alan Cox @ 2001-02-01 18:45 UTC (permalink / raw)
  To: hiren_mehta; +Cc: linux-kernel

> I am trying to compile devfsd on my system running RedHat linux 7.0
> (kernel 2.2.16-22). I get the error "RTLD_NEXT" undefined. I am not
> sure where this symbol is defined. Is there anything that I am missing 
> on my system. 

Sounds like a missing include in the devfsd code. That comes from
dlfcn.h.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: problem with devfsd compilation
  2001-02-01 18:37 problem with devfsd compilation hiren_mehta
  2001-02-01 18:44 ` Georg Nikodym
  2001-02-01 18:45 ` Alan Cox
@ 2001-02-01 18:52 ` Georg Nikodym
  2001-02-02 11:36   ` problems " Paul Collins
  2001-02-02  8:21 ` problem " Michael B. Trausch
  3 siblings, 1 reply; 7+ messages in thread
From: Georg Nikodym @ 2001-02-01 18:52 UTC (permalink / raw)
  To: hiren_mehta; +Cc: linux-kernel

>>>>> "hm" == hiren mehta <hiren_mehta@agilent.com> writes:

 hm> Hi, I am trying to compile devfsd on my system running RedHat
 hm> linux 7.0 (kernel 2.2.16-22). I get the error "RTLD_NEXT"
 hm> undefined. I am not sure where this symbol is defined. Is there
 hm> anything that I am missing on my system.

Oh yeah, here's the two other things I forgot.

The install target of the devfsd GNUmakefile attempts to copy the
devfsd.8 man page into /usr/man/man8 which doesn't exist.  RH7 has
its man pages in /usr/share/man though you might prefer
/usr/local/man, whatever.  I just changed the GNUmakefile.

Also, RH7's /etc/rc.sysinit can already start devfsd automatically
with the following line:

    [ -e /dev/.devfsd -a -x /sbin/devfsd ] && /sbin/devfsd /dev

So, all you have to do is create an empty file /dev/.devfsd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: problem with devfsd compilation
  2001-02-01 18:45 ` Alan Cox
@ 2001-02-02  6:25   ` Michael B. Trausch
  0 siblings, 0 replies; 7+ messages in thread
From: Michael B. Trausch @ 2001-02-02  6:25 UTC (permalink / raw)
  To: Alan Cox; +Cc: hiren_mehta, linux-kernel


On Thu, 1 Feb 2001, Alan Cox wrote:

> > I am trying to compile devfsd on my system running RedHat linux 7.0
> > (kernel 2.2.16-22). I get the error "RTLD_NEXT" undefined. I am not
> > sure where this symbol is defined. Is there anything that I am missing 
> > on my system. 
> 
> Sounds like a missing include in the devfsd code. That comes from
> dlfcn.h.
> 

If you add -D_GNU_SOURCE to the make line in CC_OPTS (or CCOPTS, I forget
which) it works fine.  Had the same exact problem here.

	- Mike

===========================================================================
Michael B. Trausch                                    fd0man@crosswinds.net
Avid Linux User since April, '96!                           AIM:  ML100Smkr

              Contactable via IRC (DALNet) or AIM as ML100Smkr
===========================================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: problem with devfsd compilation
  2001-02-01 18:37 problem with devfsd compilation hiren_mehta
                   ` (2 preceding siblings ...)
  2001-02-01 18:52 ` Georg Nikodym
@ 2001-02-02  8:21 ` Michael B. Trausch
  3 siblings, 0 replies; 7+ messages in thread
From: Michael B. Trausch @ 2001-02-02  8:21 UTC (permalink / raw)
  To: hiren_mehta; +Cc: linux-kernel

On Thu, 1 Feb 2001 hiren_mehta@agilent.com wrote:
>
> Hi,
> 
> I am trying to compile devfsd on my system running RedHat linux 7.0
> (kernel 2.2.16-22). I get the error "RTLD_NEXT" undefined. I am not
> sure where this symbol is defined. Is there anything that I am missing 
> on my system. 
> 

It's a problem with the makefile -- You need to have -D_GNU_SOURCE (or
#define _GNU_SOURCE as one of the first lines in all the source files of
the package)

	- Mike

===========================================================================
Michael B. Trausch                                    fd0man@crosswinds.net
Avid Linux User since April, '96!                           AIM:  ML100Smkr

              Contactable via IRC (DALNet) or AIM as ML100Smkr
===========================================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: problems with devfsd compilation
  2001-02-01 18:52 ` Georg Nikodym
@ 2001-02-02 11:36   ` Paul Collins
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Collins @ 2001-02-02 11:36 UTC (permalink / raw)
  To: linux-kernel


Georg Nikodym (georgn@somanetworks.com) wrote:

> Also, RH7's /etc/rc.sysinit can already start devfsd automatically
> with the following line:
> 
>     [ -e /dev/.devfsd -a -x /sbin/devfsd ] && /sbin/devfsd /dev
> 
> So, all you have to do is create an empty file /dev/.devfsd

That file is created by devfs itself, and is used for communication
with devfsd.  What the check for that file accomplishes is to only
start devfsd if devfs is mounted.

-- 
<sneakums@zork.net> >>>>>>> >>>>>> >>>>> >>>> >>> >> >
< << <<< This used to be real-estate,
         now it's only fields and trees. >>>> >>> >> >
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2001-02-02 11:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-01 18:37 problem with devfsd compilation hiren_mehta
2001-02-01 18:44 ` Georg Nikodym
2001-02-01 18:45 ` Alan Cox
2001-02-02  6:25   ` Michael B. Trausch
2001-02-01 18:52 ` Georg Nikodym
2001-02-02 11:36   ` problems " Paul Collins
2001-02-02  8:21 ` problem " Michael B. Trausch

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

all inboxes | Powered by JetHome®