All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: "Philip Ong Jr." <pongjr@gmail.com>
Cc: autofs@linux.kernel.org
Subject: Re: problem installing 5.0.5
Date: Mon, 25 Jan 2010 11:28:49 +0800	[thread overview]
Message-ID: <4B5D0FF1.1010701@themaw.net> (raw)
In-Reply-To: <4B5958A8.2050308@gmail.com>

On 01/22/2010 03:50 PM, Philip Ong Jr. wrote:
> When installing 5.0.5 on a Centos 4u5 system with kernel.org 2.6.29.4, i
> receive a daemon error.
> 
> Here are the last couple of lines...
> 
> # DEBUG=1 make
> gcc -g -Wall -DDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -rdynamic -fPIE
> -D_GNU_SOURCE -I../include -DAUTOFS_LIB_DIR=\"/usr/lib/autofs\" 
> -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/sysconfig\"
> -DAUTOFS_FIFO_DIR=\"/var/run\" -DAUTOFS_FLAG_DIR=\"/var/run\"
> -DVERSION_STRING=\"5.0.5\" -I/usr/include/libxml2 -c state.c
> gcc -g -Wall -DDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -rdynamic -fPIE
> -D_GNU_SOURCE -I../include -DAUTOFS_LIB_DIR=\"/usr/lib/autofs\" 
> -DAUTOFS_MAP_DIR=\"/etc\" -DAUTOFS_CONF_DIR=\"/etc/sysconfig\"
> -DAUTOFS_FIFO_DIR=\"/var/run\" -DAUTOFS_FLAG_DIR=\"/var/run\"
> -DVERSION_STRING=\"5.0.5\" -I/usr/include/libxml2 -c flag.c
> gcc -g -lpthread -rdynamic -pie -o automount automount.o indirect.o
> direct.o spawn.o module.o mount.o lookup.o state.o flag.o
> ../lib/autofs.a -ldl -lxml2 -lz -lpthread -lm
> ../lib/autofs.a(master_tok.o)(.text+0x1b45): In function
> `master_set_scan_buffer':
> /usr/src/autofs-5.0.5/lib/master_tok.l:417: undefined reference to
> `master_lex_destroy'
> collect2: ld returned 1 exit status
> make[1]: *** [automount] Error 1
> make[1]: Leaving directory `/usr/src/autofs-5.0.5/daemon'
> make: *** [daemon] Error 2

You need to check on kernel.org for patch updates.
This was resolved with patch
autofs-5.0.5-dont-use-master_lex_destroy-to-clear-parse-buffer.patch

Since the patch changes the CHANGELOG file and there are several other
patches before it in patch_order-5.0.5 you will get a rejection unless
you also apply the previous patches. I recommend applying all the
current 5.0.5 patches (as you would expect).

Ian

  reply	other threads:[~2010-01-25  3:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-22  7:50 problem installing 5.0.5 Philip Ong Jr.
2010-01-25  3:28 ` Ian Kent [this message]
2010-01-25 23:40   ` Philip Ong Jr.
2010-01-26 14:25     ` Ian Kent
2010-01-26 19:55       ` Philip Ong Jr.
2010-01-27  3:11         ` Ian Kent
2010-01-28  1:32           ` Philip Ong Jr.
2010-01-27  2:55     ` Ian Kent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B5D0FF1.1010701@themaw.net \
    --to=raven@themaw.net \
    --cc=autofs@linux.kernel.org \
    --cc=pongjr@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.