[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Error by installing NS-2.1b7a (allinone)



Dear,

thank you for your reply.
But the line 74 and 76 in /usr/include/sys/siginfo.h file are ok.
From start i already have the following error message, may be any thing not
ok by checking ...?
Hai.
--------
bacchus% install
============================================================
* Build XGraph-12.1
============================================================
creating cache ./config.cache
checking for a BSD compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking if malloc debugging is wanted... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for float.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for unistd.h... yes
checking for strcasecmp... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating autoconf.h
gcc -DHAVE_CONFIG_H -I. -I. -I.        -g  -I/usr/openwin/include  -c xgraph.c
In file included from 
/usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/time.h:90,
                 from /usr/include/sys/time.h:405,
                 from /usr/include/sys/select.h:17,
                 from 
/usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/sys/types.h:27
8,
                 from 
/usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/pwd.h:15,
                 from xgraph.c:30:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
make: *** [xgraph.o] Error 1
Can not create xgraph; But xgraph is an optional package, continuing...
============================================================
* Build CWeb
....



>X-UIDL: a36b5014c982e6925179e52c5249b740
>Date: Tue, 28 Nov 2000 11:17:42 -0500
>From: John Mehringer <[email protected]>
>Subject: Re: [ns] Error by installing NS-2.1b7a (allinone)
>To: Hoang Dang Hai <[email protected]>
>Cc: [email protected]
>MIME-version: 1.0
>Content-transfer-encoding: 7bit
>X-Accept-Language: en
>
>It looks like you have a problem in the /usr/include/sys/siginfo.h file. The
>compilier seems to like there is a missing semicolon on line 74 or 76.
>
>- John
>
>Hoang Dang Hai wrote:
>
>> Hi all,
>>
>> could YOU show me what is the reason of following error messages
>> by installing ns-allinone-2.1b7a?
>>
>> Thank you very much in advance!
>> dears,
>> [email protected] (technical university of ilmenau)
>>
>> {
>> ...
>> In file included from
>> /usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/time.h:90,
>>                  from /usr/include/sys/time.h:405,
>>                  from /usr/include/sys/select.h:17,
>>                  from
>> 
/usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/sys/types.h:27
8,
>>                  from
>> /usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/pwd.h:15,
>>                  from xgraph.c:30:
>> /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
>> /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or
>> union
>> /usr/include/sys/siginfo.h:76: parse error before `}'
>> make: *** [xgraph.o] Error 1
>>
>> ...
>>
>> gcc  -I../include -L../lib  -DFBSD   -c itm.c
>> In file included from
>> /usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/time.h:90,
>>                  from /usr/include/sys/time.h:405,
>>                  from /usr/include/sys/select.h:17,
>>                  from
>> 
/usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/sys/types.h:27
8,
>>                  from itm.c:41:
>> /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
>> /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or
>> union
>> /usr/include/sys/siginfo.h:76: parse error before `}'
>> make: *** [itm.o] Error 1
>> gcc  -I../include -L../lib    -c sgb2comns.c
>> In file included from
>> /usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/time.h:90,
>>                  from /usr/include/sys/time.h:405,
>>                  from /usr/include/sys/select.h:17,
>>                  from
>> 
/usr/local/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2.2/include/sys/types.h:27
8,
>>                  from /usr/include/strings.h:11,
>>                  from sgb2comns.c:38:
>> /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
>> /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or
>> union
>> /usr/include/sys/siginfo.h:76: parse error before `}'
>> make: *** [sgb2comns.o] Error 1
>>
>> }
>