Hi all!

Try to install asterisk-1.07 from ports.
I have port-openh323.1.17.1.tgz and port-pwlib_1.9.0.tgz from bonika.net
When i do make install i have:
web [154] [15:02:15] [/usr/ports/net/asterisk]#make install
..........................................................
..........................................................
gmake[1]: Entering directory 
`/usr/ports/net/asterisk/work/asterisk-1.0.7/channels'
gmake -C h323 ast_h323.o
gmake[2]: Entering directory 
`/usr/ports/net/asterisk/work/asterisk-1.0.7/channels/h323'
c++ -O -pipe -funroll-loops -march=pentium3 -c -fno-rtti -o ast_h323.o -O -pipe 
-funroll-loops
-march=pentium3 -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations  -Iinclude
-I../include -D_REENTRANT -D_GNU_SOURCE   -march=i386     -I/usr/local/include
-DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"1.0.6-BRIstuffed-0.2.0-RC7j\"
-DINSTALL_PREFIX=\"/usr/local\" -DASTETCDIR=\"/usr/local/etc/asterisk\"
-DASTLIBDIR=\"/usr/local/lib/asterisk\" 
-DASTVARLIBDIR=\"/usr/local/share/asterisk\"
-DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" 
-DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/usr/local/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/local/lib/asterisk/modules\" 
-DASTAGIDIR=\"/usr/local/share/asterisk/agi-bin\"
   -DBUSYDETECT_MARTIN      -Wno-missing-prototypes -Wno-missing-declarations  
-DOLD_SANGOMA_API
-DZAPATA_PRI    -DIAX_TRUNKING -I/usr/local/include  -DCRYPTO -fPIC  
-DPBYTE_ORDER=PLITTLE_ENDIAN
-DNDEBUG -DDO_CRASH -DDEBUG_THREADS -pipe -Wall -fPIC -pthread -D_REENTRANT 
-D_GNU_SOURCE
-DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPTRACING 
-DP_USE_PRAGMA -I../../include
-I/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix
-I/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include
-I/usr/ports/net/openh323/work/openh323_v1_17_1/include -Wno-missing-prototypes
-Wno-missing-declarations ast_h323.cpp
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC 
but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for 
C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-declarations" is valid for 
C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-missing-prototypes" is valid for 
C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-missing-declarations" is valid for 
C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-missing-prototypes" is valid for 
C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-missing-declarations" is valid for 
C/ObjC but not for C++
In file included from 
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib.h:181,
                  from ast_h323.cpp:34:
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pdirect.h:78: 
error: expected
unqualified-id before "protected"
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pdirect.h:78: 
error: expected `,'
or `;' before "protected"
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pdirect.h:80: 
error: expected
constructor, destructor, or type conversion before '*' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pdirect.h:80: 
error: expected `,'
or `;' before '*' token
In file included from 
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib.h:193,
                  from ast_h323.cpp:34:
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:53: 
error: expected
unqualified-id before "public"
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:53: 
error: expected `,'
or `;' before "public"
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:55: 
error: expected
class-name before '(' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:55: 
error: expected `,'
or `;' before '(' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:57: 
error: expected
unqualified-id before "protected"
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:57: 
error: expected `,'
or `;' before "protected"
In file included from 
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib.h:199,
                  from ast_h323.cpp:34:
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:124: error: 
expected class-name before
'{' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:125: error: 
`PObject' has not been
declared
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:125: error: ISO 
C++ forbids
declaration of `PCLASSINFO' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:125: error: ISO 
C++ forbids
declaration of `parameter' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:150: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:156: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:159: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:165: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:165: error: 
`PArgList::PArgList(int)'
and `PArgList::PArgList(int)' cannot be overloaded
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:180: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:185: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:209: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:210: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:218: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:219: error: ISO 
C++ forbids
declaration of `PStringArray' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:219: error: `void
PArgList::SetArgs(int)' and `void PArgList::SetArgs(int)' cannot be overloaded
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:252: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:257: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:276: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:277: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:293: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:294: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:304: error: 
`PString' does not name a type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:309: error: 
`PString' does not name a type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:314: error: 
`PString' does not name a type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:332: error: 
`PStringArray' does not
name a type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:341: error: 
`PString' does not name a type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:350: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:350: error: expected `;' 
before "operator"
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:391: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:392: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:400: error: 
expected `,' or `...'
before '&' token
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:401: error: ISO 
C++ forbids
declaration of `PString' with no type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:406: error: 
`PStringArray' does not
name a type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:408: error: 
`PString' does not name a type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:410: error: 
`PStringArray' does not
name a type
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:412: error: 
`PIntArray' does not name
a type
.......................................................
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pprocess.h:150:
 warning: 'void
PXShowSystemWarning(PINDEX)' declared `static' but never defined
/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pprocess.h:151:
 warning: 'void
PXShowSystemWarning(PINDEX, int)' declared `static' but never defined
In file included from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/channels.h:173,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/codecs.h:291,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323caps.h:202,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:316,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
                  from ast_h323.cpp:35:
/usr/ports/net/openh323/work/openh323_v1_17_1/include/transports.h:187:1: 
unterminated #ifndef
In file included from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/codecs.h:291,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323caps.h:202,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:316,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
                  from ast_h323.cpp:35:
/usr/ports/net/openh323/work/openh323_v1_17_1/include/channels.h:164:1: 
unterminated #ifndef
In file included from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323caps.h:202,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:316,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
                  from ast_h323.cpp:35:
/usr/ports/net/openh323/work/openh323_v1_17_1/include/codecs.h:281:1: 
unterminated #ifndef
In file included from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:316,
                  from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
                  from ast_h323.cpp:35:
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323caps.h:194:1: 
unterminated #ifndef
In file included from 
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
                  from ast_h323.cpp:35:
/usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:305:1: 
unterminated #ifndef
gmake[2]: *** [ast_h323.o] Error 1
gmake[2]: Leaving directory 
`/usr/ports/net/asterisk/work/asterisk-1.0.7/channels/h323'
gmake[1]: *** [h323/ast_h323.o] Error 2
gmake[1]: Leaving directory 
`/usr/ports/net/asterisk/work/asterisk-1.0.7/channels'
gmake: *** [subdirs] Error 1
*** Error code 2

Stop in /usr/ports/net/asterisk.
web [154] [15:02:39] [/usr/ports/net/asterisk]#

Help me please!
----------------------------------------------------------


_______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd

Reply via email to