[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD |
Date: |
Wed, 19 Jun 2019 18:39:02 -0700 |
Yo Greg!
On Wed, 19 Jun 2019 20:25:08 -0400
Greg Troxel <address@hidden> wrote:
> "Gary E. Miller" <address@hidden> writes:
>
> >> tar: unknown option -- transform
> >> usage: tar [-]{crtux}[-befhjklmopqvwzHJOPSXZ014578] [archive]
> >> [blocksize] [-C directory] [-T file] [-s replstr] [file ...]
> >> scons: *** [dist] Error 1
> >> scons: building terminated because of errors.
> >
> > scons knows about gtar. I just pushed a fix that should work.
>
> So I have to put TAR=gtar in the environment, which isn't a big deal
> (but is a regression from auto* :-). That made gpsd-3.19-dev.tar.gz.
So much for scons autodetection. SCons now has a FreeBSB config
section. You could put that there.
> I took the pkgsrc package, changed the version, dropped the distfile
> in place, and it built.
Cool.
> I didn't see these warnings earlier, but noticed them in the pkgsrc
> build. I grepped for warning: and this seems to be all of them. I
> have not tried to understand them yet.
>
> gcc -o monitor_oncore.o -c -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include
> -I/usr/include -I/usr/pkg/include/python3.7 -I/usr/X11R7/include
> -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -pthread
> -Wall -Wcast-align -Wextra -Wmissing-declarations
> -Wmissing-prototypes -Wno-missing-field-initializers
> -Wno-uninitialized -Wpointer-arith -Wreturn-type -Wstrict-prototypes
> -Wvla -O2 -pthread -I/usr/pkg/include/libusb-1.0 monitor_oncore.c
> monitor_oncore.c: In function 'oncore_update':
> monitor_oncore.c:378:35: warning: too many arguments for format
> [-Wformat-extra-args] (void)mvwprintw(Bowin, 2, 2, "unknown",
> utc_offset); ^ gcc -o monitor_sirf.o -c -O2 -D_FORTIFY_SOURCE=2
> -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.7
> -I/usr/X11R7/include -I/usr/X11R7/include/libdrm
> -I/usr/X11R7/include/freetype2 -pthread -Wall -Wcast-align -Wextra
> -Wmissing-declarations -Wmissing-prototypes
> -Wno-missing-field-initializers -Wno-uninitialized -Wpointer-arith
> -Wreturn-type -Wstrict-prototypes -Wvla -O2 -pthread
> -I/usr/pkg/include/libusb-1.0 monitor_sirf.c monitor_sirf.c: In
> function 'sirf_update': monitor_sirf.c:378:26: warning: format '%lu'
> expects argument of type 'long unsigned int', but argument 5 has type
> 'unsigned int' [-Wformat=] display(mid7win, 1, 16, "%lu",
> getbeu32(buf, 8)); /* Clock ppstimes */ ^ monitor_sirf.c:379:26:
> warning: format '%lu' expects argument of type 'long unsigned int',
> but argument 5 has type 'unsigned int' [-Wformat=] display(mid7win,
> 1, 29, "%lu", getbeu32(buf, 12)); /* Clock Bias */ ^
> monitor_sirf.c:380:26: warning: format '%lu' expects argument of type
> 'long unsigned int', but argument 5 has type 'unsigned
> int' [-Wformat=] display(mid7win, 2, 11, "%lu", getbeu32(buf,
> 16)); /* Estimated Time */ ^
Of course email munged them.
I'll look at them after osX dynlibs.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
pgp_j3RHILlB4.pgp
Description: OpenPGP digital signature
- Re: [gpsd-dev] Warnings from 32 bit FreeBSD, (continued)
- Re: [gpsd-dev] Warnings from 32 bit FreeBSD, Greg Troxel, 2019/06/18
- Re: [gpsd-dev] Warnings from 32 bit FreeBSD, Greg Troxel, 2019/06/18
- Re: [gpsd-dev] Warnings from 32 bit FreeBSD, Gary E. Miller, 2019/06/18
- Message not available
- Message not available
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD, Greg Troxel, 2019/06/19
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD, Gary E. Miller, 2019/06/19
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD, Greg Troxel, 2019/06/19
- [gpsd-dev] warnings on netbsd amd64 seem valid, Greg Troxel, 2019/06/19
- Re: [gpsd-dev] warnings on netbsd amd64 seem valid, Gary E. Miller, 2019/06/19
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD,
Gary E. Miller <=
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD, Fred Wright, 2019/06/20
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD, Gary E. Miller, 2019/06/20
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD, Greg Troxel, 2019/06/20
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD, Gary E. Miller, 2019/06/20
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD, Greg Troxel, 2019/06/20
- Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD, Gary E. Miller, 2019/06/20
- Re: [gpsd-dev] Warnings from 32 bit FreeBSD, Gary E. Miller, 2019/06/18
- Re: [gpsd-dev] Warnings from 32 bit FreeBSD, Fred Wright, 2019/06/20
- Re: [gpsd-dev] Warnings from 32 bit FreeBSD, Gary E. Miller, 2019/06/20
- Re: [gpsd-dev] Warnings from 32 bit FreeBSD, Gary E. Miller, 2019/06/18