[Hackrf-dev] error in building libhackrf

ikjtel ikj1234i at yahoo.com
Wed Jul 10 13:58:30 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://nine.pairlist.net/pipermail/hackrf-dev/attachments/20130710/c3e6567c/attachment.html


More information about the HackRF-dev mailing list