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

R: Ns-2.1b5 installation problem with Win98



Thanks for the answer, but the problem is not in the "ptypes2tcl.cc" file (I
had already solved problem of the "main" function). I've tried also the
snapshot and it stops at the same point! I think the problem is in the
"makefile.vc" file and precisely in the following string:


         ./ptypes2tcl > $@

...isn't it a UNIX command? (I don't know UNIX and probably I'm going
wrong...). Please look at the "makefile.vc" file and help me to solve this
problem, I really don't know what to do anymore...Thanks in advance



Luca


-----Messaggio originale-----
Da: Haobo Yu <[email protected]>
A: Luca <[email protected]>
Cc: [email protected] <[email protected]>
Data: gioved� 13 maggio 1999 20.21
Oggetto: Re: Ns-2.1b5 installation problem with Win98


>Please download the newest ptypes2tcl.cc from the snapshot. The old one
>has problem with MSVC.
>
>Alternatively, apply this patch:
>
>--- ptypes2tcl.cc~      1999/03/12 22:32:47
>+++ ptypes2tcl.cc       1999/03/24 23:50:30
>@@ -19,7 +19,7 @@
>        return charbuf;
> }
>
>-main() {
>+int main() {
>        p_info pinfo;
>
>        printLine("static const char code[] = \"");
>@@ -51,4 +51,5 @@
>        printf("\";\n");
>        printf("#include \"tclcl.h\"\n");
>        printf("EmbeddedTcl et_ns_ptypes(code);\n");
>+       return 0;
> }
>
>- Haobo