mainGNU M4 - Support: sr #101769, can't compile m4 on solaris

 
 

sr #101769: can't compile m4 on solaris

Submitter:  Invalid User ID <#5831>
Submitted:  Thu 23 Jan 2003 09:08:52 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  Works For Me
Privacy:  Public Assigned to:  ericb
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 21 Nov 2006 01:59:10 PM UTC, comment #3: 

m4 1.4.8 compiles for me on Solaris 8 and 9.  You'll need to open a new bug if you encounter further compilation problems.

Eric Blake <ericb>
Group administrator
Fri 14 Jul 2006 03:57:48 AM UTC, comment #2: 

Sorry for such a long delay in responding to your request.
Is this still an issue with m4 1.4.4, or with CVS branch-1_4?  I am about to release m4 1.4.5, and have tested building on Solaris 8, so this may be ready to close.

Eric Blake <ericb>
Group administrator
Tue 11 Feb 2003 11:55:34 PM UTC, comment #1: 


LOL

Anonymous
Thu 23 Jan 2003 09:08:52 PM UTC, original submission:  


aulr[74]% ./configure --prefix=/disk1/home/maulr
loading cache ./config.cache
checking for mawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) no
checking for a BSD compatible install...
(cached) ./install-sh -c
checking whether make sets $MAKE... (cached) yes
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor...
(cached) /lib/cpp
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... (cached) no
checking for gcc option to accept ANSI C... (cached) no
checking for function prototypes... no
checking for working const... (cached) no
checking for limits.h... (cached) yes
checking for memory.h... (cached) yes
checking for siginfo.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether cross-compiling... (cached) yes
checking for ANSI C header files... (cached) no
checking return type of signal handlers... (cached) int
checking for size_t... (cached) yes
checking for mkstemp... (cached) no
checking for sigaction... (cached) no
checking for sigaltstack... (cached) no
checking for sigstack... (cached) no
checking for sigvec... (cached) no
checking for strerror... (cached) no
checking for tmpfile... (cached) no
checking for working alloca.h... (cached) no
checking for alloca... (cached) no
checking whether alloca needs Cray hooks... (cached) no
checking stack direction for C alloca... (cached) 0
checking for vprintf... (cached) no
checking for _doprnt... (cached) no
checking for strtol... (cached) no
checking ecvt declaration... yes
checking if stack overflow is detectable... no
checking if changeword is wanted... no
checking if malloc debugging is wanted... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating lib/Makefile
creating src/Makefile
creating checks/Makefile
creating examples/Makefile
creating config.h
config.h is unchanged
maulr[75]% make
for subdir in doc lib src checks examples; do \
  echo making all in $subdir; \
  (cd $subdir && make CC='gcc' CFLAGS='-g' LDFLAGS=''
LIBS=''  prefix='/disk1/home/maulr'
exec_prefix='/disk1/home/maulr' 
bindir='/disk1/home/maulr/bin'
infodir='/disk1/home/maulr/info' all) || exit 1; \
done
making all in doc
making all in lib
making all in src
./ansi2knr --varargs debug.c > debug._c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g debug._c
In file included from /usr/include/string.h:18,
                 from m4.h:49,
                 from debug.c:19:
/usr/include/iso/string_iso.h:60: warning: conflicting
types for built-in function `memcmp'
/usr/include/iso/string_iso.h:61: warning: conflicting
types for built-in function `memcpy'
/usr/include/iso/string_iso.h:65: warning: conflicting
types for built-in function `strcmp'
/usr/include/iso/string_iso.h:66: warning: conflicting
types for built-in function `strcpy'
debug.c: In function `trace_format':
debug.c:225: parse error before `va_dcl'
debug.c:244: parse error before `('
debug.c:241: declaration for parameter `maxlen' but no
such parameter
debug.c:240: declaration for parameter `slen' but no
such parameter
debug.c:239: declaration for parameter `s' but no such
parameter
debug.c:238: declaration for parameter `nbuf' but no
such parameter
debug.c:237: declaration for parameter `d' but no such
parameter
debug.c:235: declaration for parameter `ch' but no
such parameter
debug.c:256: break statement not within loop or switch
debug.c:266: `args' undeclared (first use in this
function)
debug.c:266: (Each undeclared identifier is reported
only once
debug.c:266: for each function it appears in.)
debug.c:266: invalid type argument of `unary *'
debug.c:278: invalid type argument of `unary *'
debug.c: At top level:
debug.c:298: parse error before `void'
* Error code 1
make: Fatal error: Command failed for target `debug._o'
Current working directory /disk1/home/maulr/src/m4-
1.4/src
* Error code 1
make: Fatal error: Command failed for target `all'

Invalid User ID <#5831>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-11-21 ericb StatusNeed Info Works For Me
    Open/ClosedOpen Closed
2006-07-14 ericb StatusNone Need Info
    Assigned toNone ericb

Back to the top

Powered by Savane 3.15-e283.
Corresponding source code