[Home]

Summary:ASTERISK-10645: [patch] Solaris fixes for editline compilation
Reporter:snuffy (snuffy)Labels:
Date Opened:2007-10-29 21:51:15Date Closed:2007-10-30 10:45:40
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) patch-11113.diff
Description:Gets rid of these two errors


gcc -c  -D_REENTRANT -pthreads -I/export/home/bradl/sources/asterisk/include  -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /export/home/bradl/sources/asterisk/include/asterisk/autoconfig.h  -Wunused -Wundef -Wdeclaration-after-statement -march=i386 -Wcast-align -DSOLARIS -I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include  -include /export/home/bradl/sources/asterisk/include/asterisk/astmm.h  -DSOLARIS -I../../include/solaris-compat '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/vis.c -o np/vis.o_a
np/vis.c:57:6: warning: "HAVE_VIS_H" is not defined
np/vis.c:72: error: redefinition of typedef 'u_int32_t'
/export/home/bradl/sources/asterisk/include/asterisk/compat.h:110: error: previous declaration of 'u_int32_t' was here
gmake[2]: *** [np/vis.o_a] Error 1
gmake[1]: *** [editline/libedit.a] Error 2
gmake: *** [main] Error 2
Comments:By: Digium Subversion (svnbot) 2007-10-30 10:45:40

Repository: asterisk
Revision: 87568

_U  trunk/
U   trunk/main/editline/np/vis.c

------------------------------------------------------------------------
r87568 | qwell | 2007-10-30 10:45:39 -0500 (Tue, 30 Oct 2007) | 13 lines

Merged revisions 87567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue ASTERISK-10645)
........
r87567 | qwell | 2007-10-30 10:45:35 -0500 (Tue, 30 Oct 2007) | 4 lines

Fix build of editline on Solaris.

Issue 11113, patch by snuffy.

........

------------------------------------------------------------------------