reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jose R R <Jose.r.r@metztli-it.com>
To: doiggl@velocitynet.com.au
Cc: ReiserFS Development List <reiserfs-devel@vger.kernel.org>
Subject: Re: help wanted add-node41.patch fails to apply to reiser4progs version 1.0.9
Date: Thu, 19 Feb 2015 04:46:11 -0800	[thread overview]
Message-ID: <CAM12Q5R3HCPNjL+wnX6wqXfbCM9F1n_cLLD2rGQcGLgM8Soxew@mail.gmail.com> (raw)
In-Reply-To: <a6ad8c02cd6dcddc95b2d7e25d42f35c@mail.velocitynet.com.au>

On Thu, Feb 19, 2015 at 4:02 AM,  <doiggl@velocitynet.com.au> wrote:
> Hello,
> - I tried a build of reiser4progs with add-node41.patch and it fails.
> Help wanted to get it to compile.
> --Glenn
>
> spec shows:
> ==========
>
> Patch0: add-node41.patch
> .
> .
> %patch0 -p1
>
> The build log shows:
> ===================
>
> [   63s] checking for libaal-minimal version = 1.0.6... yes
> .
> .
> [   73s] make[3]: Entering directory
> `/home/abuild/rpmbuild/BUILD/reiser4progs-1.0.9/progs/mkfs'
> [   73s] gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include   -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -DENABLE_SYMLINKS -DENABLE_SPECIAL -DENABLE_R5_HASH
> -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH
> -DENABLE_DEG_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS
> -DENABLE_DOT_O_FIBRE -DENABLE_EXT_1_FIBRE -DENABLE_EXT_3_FIBRE
> -DENABLE_LEXIC_FIBRE -O3 -fmessage-length=0 -grecord-gcc-switches
> -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables
> -fasynchronous-unwind-tables -g -W -Wall -Wuninitialized
> -Wno-unused-parameter -Wredundant-decls -c -o mkfs_reiser4-mkfs.o `test -f
> 'mkfs.c' || echo './'`mkfs.c
> [   73s] mkfs.c: In function 'main':
> [   73s] mkfs.c:210:5: warning: pointer targets in passing argument 2 of
> 'uuid_parse' differ in signedness [-Wpointer-sign]
> [   73s]      if (uuid_parse(optarg, hint.uuid) < 0) {
> [   73s]      ^
> [   73s] In file included from mkfs.c:11:0:
> [   73s] /usr/include/uuid/uuid.h:88:5: note: expected 'unsigned char *'
> but argument is of type 'char *'
> [   73s]  int uuid_parse(const char *in, uuid_t uu);
> [   73s]      ^
> [   73s] mkfs.c:409:3: warning: pointer targets in passing argument 1 of
> 'uuid_is_null' differ in signedness [-Wpointer-sign]
> [   73s]    if (uuid_is_null(hint.uuid)) {
> [   73s]    ^
> [   73s] In file included from mkfs.c:11:0:
> [   73s] /usr/include/uuid/uuid.h:85:5: note: expected 'const unsigned
> char *' but argument is of type 'char *'
> [   73s]  int uuid_is_null(const uuid_t uu);
> [   73s]      ^
> [   73s] mkfs.c:410:4: warning: pointer targets in passing argument 1 of
> 'uuid_generate' differ in signedness [-Wpointer-sign]
> [   73s]     uuid_generate(hint.uuid);
> [   73s]     ^
> [   73s] In file included from mkfs.c:11:0:
> [   73s] /usr/include/uuid/uuid.h:79:6: note: expected 'unsigned char *'
> but argument is of type 'char *'
> [   73s]  void uuid_generate(uuid_t out);
> [   73s]       ^
> [   73s] mkfs.c:416:4: warning: pointer targets in passing argument 1 of
> 'uuid_unparse' differ in signedness [-Wpointer-sign]
> [   73s]     uuid_unparse(hint.uuid, uuid);
> [   73s]     ^
> [   73s] In file included from mkfs.c:11:0:
> [   73s] /usr/include/uuid/uuid.h:91:6: note: expected 'const unsigned
> char *' but argument is of type 'char *'
> [   73s]  void uuid_unparse(const uuid_t uu, char *out);
> [   73s]       ^
> [   74s] /bin/sh ../../libtool  --tag=CC   --mode=link gcc -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -DENABLE_SYMLINKS -DENABLE_SPECIAL -DENABLE_R5_HASH
> -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH
> -DENABLE_DEG_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS
> -DENABLE_DOT_O_FIBRE -DENABLE_EXT_1_FIBRE -DENABLE_EXT_3_FIBRE
> -DENABLE_LEXIC_FIBRE -O3 -fmessage-length=0 -grecord-gcc-switches
> -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables
> -fasynchronous-unwind-tables -g -W -Wall -Wuninitialized
> -Wno-unused-parameter -Wredundant-decls   -o mkfs.reiser4
> mkfs_reiser4-mkfs.o ../../libreiser4/libreiser4.la ../../libmisc/libmisc.la
> -lreadline  -lncurses
> [   74s] libtool: link: gcc -D_REENTRANT -D_FILE_OFFSET_BITS=64
> -DENABLE_SYMLINKS -DENABLE_SPECIAL -DENABLE_R5_HASH -DENABLE_FNV1_HASH
> -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_DEG_HASH
> -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -DENABLE_DOT_O_FIBRE
> -DENABLE_EXT_1_FIBRE -DENABLE_EXT_3_FIBRE -DENABLE_LEXIC_FIBRE -O3
> -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall
> -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -W
> -Wall -Wuninitialized -Wno-unused-parameter -Wredundant-decls -o
> .libs/mkfs.reiser4 mkfs_reiser4-mkfs.o
> ../../libreiser4/.libs/libreiser4.so ../../libmisc/.libs/libmisc.a -laal
> -luuid -lreadline -lncurses
> [   74s] ../../libreiser4/.libs/libreiser4.so: undefined reference to
> `node41_plug'

Steps were:

autoreconf
./configure
make
make install

http://marc.info/?l=reiserfs-devel&m=142426774807698&w=2

thus, likely you overlooked the first directive -- as Ed suggested:

"try autoreconf before ./configure"

http://marc.info/?l=reiserfs-devel&m=142419259318629&w=2


Best Professional Regards.

-- 
Jose R R
http://www.metztli-it.com
---------------------------------------------------------------------------------------------
Try at no charge http://b2evolution.net for http://OpenShift.com PaaS
---------------------------------------------------------------------------------------------
from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way!
---------------------------------------------------------------------------------------------

  parent reply	other threads:[~2015-02-19 12:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-19 12:02 help wanted add-node41.patch fails to apply to reiser4progs version 1.0.9 doiggl
2015-02-19 12:40 ` doiggl
2015-02-19 13:00   ` Jose R R
2015-02-19 12:46 ` Jose R R [this message]
2015-02-19 14:01   ` doiggl
2015-02-19 15:34     ` Jose R R
2015-02-19 18:23     ` dimas
2015-02-20  1:02     ` doiggl
2015-02-20  3:31       ` Vladimir Shebordaev
2015-02-20  3:33         ` doiggl

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=CAM12Q5R3HCPNjL+wnX6wqXfbCM9F1n_cLLD2rGQcGLgM8Soxew@mail.gmail.com \
    --to=jose.r.r@metztli-it.com \
    --cc=doiggl@velocitynet.com.au \
    --cc=reiserfs-devel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).