Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2016 16:29:08 +0100
From:      =?UTF-8?Q?Mika=C3=ABl_Urankar?= <mikael.urankar@gmail.com>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: net-mgmt/cdpd failing on RPi (Mika?l Urankar)
Message-ID:  <CAJwjRmRRd0KFTFPXvSjK4EggibBVXmCJAKZGhF0tmwucfaXhiA@mail.gmail.com>
In-Reply-To: <20160323150155.GA10429@thismonkey.com>
References:  <mailman.59.1458734401.35535.freebsd-arm@freebsd.org> <20160323150155.GA10429@thismonkey.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2016-03-23 16:01 GMT+01:00 Scott <freebsd-lists-5@thismonkey.com>:
>> > Hi all,
>> >
>> > I've compiled net-mgmt/cdpd (cdpd-1.0.4.1) on the system:
>> >   FreeBSD network-01.thismonkey.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0
>> >   r287930: Fri Sep 18 04:03:40 UTC 2015
>> >   root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI2  arm
>> >
>> > and when I run it it simply genereates its help message and exits.
>>
>> Hi,
>> see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208216
>>
> Hi!
>
> Thanks for the quick reply.  That patch worked perfectly, thanks.
>
> Just for my education: did the truss output assist at all?  If so, what was
> the relevant line(s) that led to the patch?

truss was of no help. The warning in the build log [1] led me on track:
cdpd.c:617:43: warning: comparison of constant -1 with expression of
type 'char' is always true
[-Wtautological-constant-out-of-range-compare]
        while((c=getopt(argc,argv,"i:dt:hoalcr"))!=EOF) {

[1] http://beefy8.nyi.freebsd.org/data/head-armv6-default/p410528_s296455/logs/cdpd-1.0.4.1.log



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJwjRmRRd0KFTFPXvSjK4EggibBVXmCJAKZGhF0tmwucfaXhiA>