gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Weird build quirk


From: Fred Wright
Subject: Re: [gpsd-dev] Weird build quirk
Date: Mon, 25 Jul 2016 15:15:48 -0700 (PDT)

On Sun, 24 Jul 2016, Hal Murray wrote:

> Anybody understand this one?
>
> gcc -pthread -o gpsclient-py_2_7_11_final_0.so -c -fno-strict-aliasing
> -Wmissing-declarations -O2 -pthread -fPIC -DNDEBUG -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
> -D_GNU_SOURCE -fPIC -fwrapv -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/python2.7
> gpsclient.c
> gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
> scons: *** [gpsclient-py_2_7_11_final_0.so] Error 1
>
> It has already compiled lots of stuff.
>
> Google says I have to install redhat-rpm-config
> That fixed it.
>
> That was on a Fedora 23 box that was recently updated from Fedora 22.

I suggest investigating where the "/usr/lib/rpm/redhat/redhat-hardened-cc1"
came from.  Maybe from pkg-config?

If necessary, you can debug with --debug=pdb, but since that's intended
primarily for debugging scons itself, it doesn't add the script directory
to sys.path, so you need to specify the full absolute path to SConstruct
to set breakpoints.

Fred Wright



reply via email to

[Prev in Thread] Current Thread [Next in Thread]