[Hackrf-dev] error in building libhackrf

Paul King soopahphro at gmail.com
Wed Jul 10 18:15:47 EDT 2013


gnu90 is setting the ansi c version to c90, if you're using gcc 4.4 or
earlier they wont support c90, you could change it to gnu89 (putitng it to
c89). However if it works without setting the standard at all I say go
with it.


On Wed, Jul 10, 2013 at 1:58 PM, ikjtel <ikj1234i at yahoo.com> wrote:


> Trying to build on an older laptop, kept getting errors in cmake about

> problems finding the size and endian-ness of int's and such.

>

> Internally this was being caused by

> cc1: error: unrecognized command line option "-std=gnu90"

>

> Commented out the foll. line in CMakeLists.txt which "fixed" the problem

> and enabled the build to proceed without further trouble...

>

> set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90")

>

> Best

>

> Max

>

> _______________________________________________

> HackRF-dev mailing list

> HackRF-dev at greatscottgadgets.com

> http://nine.pairlist.net/mailman/listinfo/hackrf-dev

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://nine.pairlist.net/pipermail/hackrf-dev/attachments/20130710/b9863643/attachment.htm


More information about the HackRF-dev mailing list