Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2019 21:33:23 +0800
From:      hshh <hunreal@gmail.com>
To:        vm finance <vm.finance2@gmail.com>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: BBR patch on latest src, build failed.
Message-ID:  <CAJrEuZZhYhhnfRC%2BDZ2vnYcWmk349%2B8fyZ_sCAsCtcANCQPa7A@mail.gmail.com>
In-Reply-To: <CAKy-8=hU4vRf4Wfu_Qodqed8dsqVve5s_hd5cCQU3AMNepQspA@mail.gmail.com>
References:  <CAJrEuZYD0Pzox7j5qskWepZhNoArC4aV4v7hd5g=5sVYhPeCgg@mail.gmail.com> <CAKy-8=hU4vRf4Wfu_Qodqed8dsqVve5s_hd5cCQU3AMNepQspA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, I saw your email. As my post, I can build the kernel successfully with
revision 352483.
But can not build with latest src.

On Mon, Sep 23, 2019 at 2:39 PM vm finance <vm.finance2@gmail.com> wrote:

> I have successfully built BBR after checking out latest codebase.
> I'm also on svn revision: 352483...
>
> Did you follow the steps I have outlined in previous emails on this topic?
> I had to manually create a few sub-directories/copy things etc. Pls check
> emails
> on this last week.
>
> On Sat, Sep 21, 2019 at 4:01 PM hshh <hunreal@gmail.com> wrote:
>
>> Hi all,
>>
>> I patched D21582.id62213.diff to latest head src that revision 352587,
>> kernel build failed.
>>
>> According to previous mail, I can build the kernel successfully with
>> revision 352483.
>>
>> OS is 13.0-CURRENT amd64.
>>
>> Kernel config file,
>>
>> include         GENERIC-NODEBUG
>> ident           hshh
>> makeoptions     WITH_EXTRA_TCP_STACKS=1
>> options         TCPHPTS
>> options         RATELIMIT
>>
>> The error log,
>>
>> --- tcp_bbr.ko.full ---
>> ld -m elf_x86_64_fbsd -d -warn-common --build-id=sha1 -d -warn-common
>> --build-id=sha1 -d -warn-common --build-id=sha1 -d -warn-common
>> --build-id=sha1 -r -d -o tcp_bbr.ko.full bbr.o sack_filter.o
>> rack_bbr_common.o bbr.o sack_filter.o rack_bbr_common.o bbr.o
>> sack_filter.o
>> rack_bbr_common.o bbr.o sack_filter.o rack_bbr_common.o
>> ld: error: duplicate symbol: __tcp_bbr
>> >>> defined at bbr.c
>> >>>            bbr.o:(__tcp_bbr)
>> >>> defined at bbr.c
>> >>>            bbr.o:(.data+0x8)
>> .... Some messages similar above.
>> --
>> @hshh
>> _______________________________________________
>> freebsd-net@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>>
>

-- 
@hshh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJrEuZZhYhhnfRC%2BDZ2vnYcWmk349%2B8fyZ_sCAsCtcANCQPa7A>