[ns] Re: ns-allinone-2.1b6 installation problem: [tkUnixInit.o]
Alex Hamidian
alexh@telecom.lth.se
Wed Apr 3 05:16:32 2002
--------------080002070107040803020600
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Hi everyone and Jasu Sotiris!
I've already solved the problem Sotiris but thanks alot for your answer!!!
A friend told me to copy the file tkUnixInit.c from the
ns-allinone-2.1b6/nam1.0a8 directory into the
ns-allinone-2.1b6/tk8.0.4/unix directory and it worked!
Hefaristo
Ali Hamidian
Sotiris Goudos wrote:
>
>
> There is someware a compat directory probably under the tcl dir.
> Inside that directory
>
> there a stdlib.h file. Open this file with a text editor and comment
> out the lines which
>
> declear malloc and calloc. Recompile and it should work.
>
>
>
> Sotiris Goudos
> Aristotle University of Thessaloniki.
> Telecommunications Center.
> Thessaloniki, 54006, GREECE
> Tel.: +30 0310 996792, Fax : +30 0310 997610
> E-mail : sgoudo@skiathos.physics.auth.gr
> <mailto:sgoudo@skiathos.physics.auth.gr>
> Visit our site: www.tcom.auth.gr <http://www.tcom.auth.gr>
>
> ----- Original Message -----
>
> From: Alex Hamidian <mailto:alexh@telecom.lth.se>
>
> To: heru@brawijaya.ac.id <mailto:heru@brawijaya.ac.id>
>
> Cc:ns mailing list <mailto:ns-users@ISI.EDU>
>
> Sent: Tuesday, April 02, 2002 12:52 PM
>
> Subject: [ns] Re: ns-allinone-2.1b6 installation problem:
> [tkUnixInit.o]
>
>
> I need to use MobiWan wich only works with ns-2.1b6!
> Ali Hamidian
>
>
>
> heru@brawijaya.ac.id wrote:
>
>> try to download ns-allinone-2.1b8a, I successed install to RH 7.1.
>> heru
>> Alex Hamidian wrote:
>>
>>> Hi everyone!
>>> I try to install ns-allinone-2.1b6 under Linux Red Hat 7.2.
>>> After typing ./install I get the following error:
>>>
>>> /usr/include/stdlib.h:527: conflicting types for `malloc'
>>> ../compat/stdlib.h:34: previous declaration of `malloc'
>>> /usr/include/stdlib.h:530: conflicting types for `calloc'
>>> ../compat/stdlib.h:29: previous declaration of `calloc'
>>> make: *** [tkUnixInit.o] Error 1
>>> tk8.0.4 make failed! Exiting ...
>>>
>>> Can anyone please help me?
>>> Thanks
>>> Ali Hamidian
>>>
>>> SOLUTIONS TO SOME INSTALLATIONS PROBLEMS!!!
>>> P.s. I also want to tell everyone about the great page
>>> http://www.comp.leeds.ac.uk/nuk/Research/Log/ with solutions to
>>> some installation problems!
>>>
>>
>>
>>
>> heru
>>
>
>
>
--------------080002070107040803020600
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<html>
<head>
</head>
<body>
Hi everyone and Jasu Sotiris!<br>
<br>
I've already solved the problem Sotiris but thanks alot for your answer!!!<br>
A friend told me to copy the file tkUnixInit.c from the ns-allinone-2.1b6/nam1.0a8
directory into the ns-allinone-2.1b6/tk8.0.4/unix directory and it worked!<br>
<br>
Hefaristo<br>
Ali Hamidian<br>
<br>
<br>
<br>
Sotiris Goudos wrote:<br>
<blockquote type="cite" cite="mid:005d01c1dae1$9460e780$053acf9b@tcom.auth.gr">
<meta content="MSHTML 6.00.2600.0" name="GENERATOR">
<style></style>
<div> </div>
<div><font face="Arial" size="2">There is someware a compat directory probably
under the tcl dir. Inside that directory </font></div>
<div><font face="Arial" size="2">there a stdlib.h file. Open this file
with a text editor and comment out the lines which</font></div>
<div><font face="Arial" size="2">declear malloc and calloc. Recompile and
it should work.</font></div>
<div> </div>
<div><font face="Arial" size="2">Sotiris Goudos<br>
Aristotle University of Thessaloniki.<br>
Telecommunications Center.<br>
Thessaloniki, 54006, GREECE<br>
Tel.: +30 0310 996792, Fax : +30 0310 997610<br>
E-mail : <a href="mailto:sgoudo@skiathos.physics.auth.gr">sgoudo@skiathos.physics.auth.gr</a>
<br>
Visit our site: <a href="http://www.tcom.auth.gr">www.tcom.auth.gr</a>
</font></div>
<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left-width: 2px; border-left-style: solid; border-left-color: rgb(0,0,0); margin-right: 0px; ">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none; ">
----- Original Message ----- </div>
<div style="background-color: rgb(228,228,228); background-image: none; background-repeat: repeat; background-attachment: scroll; -x-background-x-position: 0%; -x-background-y-position: 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none; "><b>
From:</b><a title="alexh@telecom.lth.se" href="mailto:alexh@telecom.lth.se">
Alex Hamidian</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none; "><b>
To:</b><a title="heru@brawijaya.ac.id" href="mailto:heru@brawijaya.ac.id">
heru@brawijaya.ac.id</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none; "><b>
Cc:</b><a title="ns-users@ISI.EDU" href="mailto:ns-users@ISI.EDU">ns mailing
list</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none; "><b>
Sent:</b> Tuesday, April 02, 2002 12:52 PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none; "><b>
Subject:</b> [ns] Re: ns-allinone-2.1b6 installation problem: [tkUnixInit.o]</div>
<div><br>
</div>
I need to use MobiWan wich only works with ns-2.1b6!<br>
Ali Hamidian<br>
<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:heru@brawijaya.ac.id">
heru@brawijaya.ac.id</a>
wrote:<br>
<blockquote cite="mid:20020402013215.14678.qmail@mail.brawijaya.ac.id" type="cite">
try to download ns-allinone-2.1b8a, I successed install to RH 7.1. <br>
heru <br>
Alex Hamidian wrote: <br>
<blockquote type="cite">Hi everyone! <br>
I try to install ns-allinone-2.1b6 under Linux Red Hat 7.2. After
typing ./install I get the following error: <br>
<br>
<b>/usr/include/stdlib.h:527: conflicting types for `malloc'
<br>
../compat/stdlib.h:34: previous declaration of `malloc' <br>
/usr/include/stdlib.h:530: conflicting types for `calloc' <br>
../compat/stdlib.h:29: previous declaration of `calloc' <br>
make: *** [tkUnixInit.o] Error 1 <br>
tk8.0.4 make failed! Exiting ... <br>
</b><br>
Can anyone please help me? <br>
Thanks <br>
Ali Hamidian <br>
<br>
SOLUTIONS TO SOME INSTALLATIONS PROBLEMS!!! <br>
P.s. I also want to tell everyone about the great page <a href="http://www.comp.leeds.ac.uk/nuk/Research/Log/">
http://www.comp.leeds.ac.uk/nuk/Research/Log/</a>
with solutions to some installation problems! <br>
<br>
</blockquote>
<br>
<br>
<br>
heru <br>
<br>
</blockquote>
<div><br>
</div>
</blockquote>
</blockquote>
<br>
</body>
</html>
--------------080002070107040803020600--