bug-gnats
[Top][All Lists]
Advanced

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

bug report: gnats 3.2 compilation error


From: root
Subject: bug report: gnats 3.2 compilation error
Date: Sun, 14 Jan 2001 17:05:39 -0800 (PST)

I encountered a compilation error with building a just-ftp'd Gnats 3.2:

Software environment: 
SuSE GNU/Linux distribution 7.0, GCC 2.95.2, GNU Libc 2.1.  

Relevant Hardware: AMD Athlon/700 , 512 MB ram, Soyo VIA
motherboard (Slot A).

Compilation error messages:

   make[1]: Entering directory `/usr/src/gnats/gnats-3.2/gnats'
   cc -c -I. -I. -I./../include -g  -DHAVE_CONFIG_H query-pr.c
   query-pr.c:43: initializer element is not constant
   query-pr.c: In function `main':
   query-pr.c:617: warning: return type of `main' is not `int'
   make[1]: *** [query-pr.o] Error 1
   make[1]: Leaving directory `/usr/src/gnats/gnats-3.2/gnats'
   make: *** [all-gnats] Error 2
   make: Leaving directory `/usr/src/gnats/gnats-3.2'

The offending statement from query-pr.c, referred to above:

   /* Where the results of query-pr should go.  */
   FILE *outfile = stdout;


The config.status file:

   #!/bin/sh
   # This file was generated automatically by configure.  Do not edit.
   # This directory was configured as follows:
   ./configure linux -norecursion 
   # using "config/mh-linux"


--Steve Augart
  steve@augart.com





reply via email to

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