[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] tar-1.19 build problem on non-linux
From: |
Harald Koenig |
Subject: |
[Bug-tar] tar-1.19 build problem on non-linux |
Date: |
Tue, 8 Jan 2008 14:40:31 +0100 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
Hi,
tar-1.19 doesn't build on Solaris 5.6/5.8, IRIX 6.5, HP-UX 11.XX etc.
sample build log from Solaris 5.8:
-------------------------------------------------------------------------------
cc -fast -xtarget=ultra3 -xarch=v8plusa -I/usr/local/include
-I/usr/local/devel/libiconv/1.11-static/include -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include -I/usr/local/devel/libiconv/1.11-static/include -g -c -o
strerror.o strerror.c
"strerror.c", line 32: undefined symbol: CHAR_BIT
"strerror.c", line 32: variable length array can not be declared with a static
storage class: mesg
cc: acomp failed for strerror.c
-------------------------------------------------------------------------------
the following mini-patch fixes this problem for the plattforms mentioned above:
-------------------------------------------------------------------------------
--- tar-1.19/lib/strerror.c~ 2007-09-28 15:11:37.000000000 +0200
+++ tar-1.19/lib/strerror.c 2008-01-08 14:32:59.000000000 +0100
@@ -23,6 +23,7 @@
# include <string.h>
# include <stdio.h>
+# include <limits.h>
# undef strerror
-------------------------------------------------------------------------------
Harald Koenig
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig \/\/\/\/\/\/\/\/\/
science+computing ag // / \\ \
address@hidden ^^^^^ ^^^^^
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-tar] tar-1.19 build problem on non-linux,
Harald Koenig <=