git/list[1] front-page[2] threads[3] people[4] search[5] about
 

proper flags for make check ?

From
David Bryson <david@statichacks.org>
Date
Oct 7, 2008, 15:46 UTC
Message-ID
<20081007154643.GA5774@eratosthenes.cryptobackpack.org>

After the recent discussion about make check I decided to give it a try and see what happens.

I installed sparse, took a look at the source and it appears to want something along the following lines for a intel processor:

-D__LITTLE_ENDIAN__ -D__i386__=1

I then type 'make check' and get about 30 seconds of errors printing out for kerberos headers.

The errors look a lot like this:

/usr/include/krb5/krb5.h:1166:18: error: got * /usr/include/krb5/krb5.h:1167:18: error: Expected ; at end of declaration /usr/include/krb5/krb5.h:1167:18: error: got * /usr/include/krb5/krb5.h:1168:20: error: Expected ; at end of declaration /usr/include/krb5/krb5.h:1168:20: error: got * /usr/include/krb5/krb5.h:1169:1: error: Expected ; end of type declaration /usr/include/krb5/krb5.h:1169:1: error: got } /usr/include/krb5/krb5.h:1173:17: error: expected ; at end of declaration /usr/include/krb5/krb5.h:1173:17: error: Expected } at end of struct-union-enum-specifier

What is the proper way to run sparse on the git sources ?
Dave
Message 1 of 1 in “proper flags for make check ?”
  1. David BrysonOct 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.