From: Patrick McHardy <kaber@trash.net>
To: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Cc: Netfilter Development Mailing list <netfilter-devel@vger.kernel.org>
Subject: Re: Can't compile nftables
Date: Tue, 21 Jan 2014 12:36:00 +0000 [thread overview]
Message-ID: <20140121123559.GD30955@macbook.localnet> (raw)
In-Reply-To: <CAOkSjBiG2dXFKves3yf61Lw2gP=EBC=auAaTJL8HApGmc8O7PA@mail.gmail.com>
On Tue, Jan 21, 2014 at 01:26:41PM +0100, Arturo Borrero Gonzalez wrote:
> Hi there,
>
> I have this:
>
> % make clean && make -j8 && make install
>
> -e CC src/parser.c
> -e CC src/scanner.c
> -e LD src/nft
> src/scanner.o: In function `nft_realloc':
> /home/aborrero/git/nftables/<stdout>:4146: undefined reference to `rpl_realloc'
> src/scanner.o: In function `nft_alloc':
> /home/aborrero/git/nftables/<stdout>:4134: undefined reference to `rpl_malloc'
> /home/aborrero/git/nftables/<stdout>:4134: undefined reference to `rpl_malloc'
> /home/aborrero/git/nftables/<stdout>:4134: undefined reference to `rpl_malloc'
> src/scanner.o: In function `nft_realloc':
> /home/aborrero/git/nftables/<stdout>:4146: undefined reference to `rpl_realloc'
> /home/aborrero/git/nftables/<stdout>:4146: undefined reference to `rpl_realloc'
> src/scanner.o: In function `nft_alloc':
> /home/aborrero/git/nftables/<stdout>:4134: undefined reference to `rpl_malloc'
> /home/aborrero/git/nftables/<stdout>:4134: undefined reference to `rpl_malloc'
> /home/aborrero/git/nftables/<stdout>:4134: undefined reference to `rpl_malloc'
> /home/aborrero/git/nftables/<stdout>:4134: undefined reference to `rpl_malloc'
> /home/aborrero/git/nftables/<stdout>:4134: undefined reference to `rpl_malloc'
> src/scanner.o: In function `nft_realloc':
> /home/aborrero/git/nftables/<stdout>:4146: undefined reference to `rpl_realloc'
> src/utils.o: In function `xmalloc':
> /home/aborrero/git/nftables/src/utils.c:36: undefined reference to `rpl_malloc'
> src/utils.o: In function `xrealloc':
> /home/aborrero/git/nftables/src/utils.c:44: undefined reference to `rpl_realloc'
> src/parser.o: In function `nft_parse':
> /home/aborrero/git/nftables/src/parser.c:3183: undefined reference to
> `rpl_malloc'
> /home/aborrero/git/nftables/src/parser.c:6193: undefined reference to
> `rpl_malloc'
> collect2: error: ld returned 1 exit status
>
> Do you have any idea of why?
>
> my git: 11ba325 (HEAD, origin/master, origin/HEAD, master) bump
> release number to 0.100
You need to run ldconfig after installing the libraries, otherwise the
malloc test will fail and autoconf will replace it by rpl_*.
next prev parent reply other threads:[~2014-01-21 12:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-21 12:26 Can't compile nftables Arturo Borrero Gonzalez
2014-01-21 12:36 ` Patrick McHardy [this message]
2014-01-21 13:25 ` Arturo Borrero Gonzalez
2014-01-21 12:36 ` Pablo Neira Ayuso
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=20140121123559.GD30955@macbook.localnet \
--to=kaber@trash.net \
--cc=arturo.borrero.glez@gmail.com \
--cc=netfilter-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).