[BusyBox-cvs] svn commit: trunk/busybox/archival

andersen at busybox.net andersen at busybox.net
Fri Feb 11 19:06:57 UTC 2005

Author: andersen
Date: 2005-02-11 12:06:51 -0700 (Fri, 11 Feb 2005)
New Revision: 9849

Takeharu KATO writes:


I found that gcc in cvs (HEAD in 2005/02/11) reject the gzip source
in the busybox.

This is caused by changing gcc's error handling behavior(
The gcc check the function prototype more strictly).

I show the compilation log as follow:
-- compilation log

-- compilation log
To fix the problem, apply the patch which is attached with this

Please take a look the patch and apply the patch into svn repository.


Modified: trunk/busybox/archival/gzip.c
--- trunk/busybox/archival/gzip.c	2005-02-11 18:49:30 UTC (rev 9848)
+++ trunk/busybox/archival/gzip.c	2005-02-11 19:06:51 UTC (rev 9849)
@@ -2142,7 +2142,7 @@
  * Construct the Huffman tree for the bit lengths and return the index in
  * bl_order of the last bit length code to send.
-static const int build_bl_tree()
+static int build_bl_tree()
 	int max_blindex;	/* index of last bit length code of non zero freq */

More information about the busybox-cvs mailing list