I already had glibc-devel a fedora equivalent to libc6 and my others c program those include stdio.h are working.
Thanks Avinash Kumar Chaurasia Department of Computer Science IIT Kanpur, India On Thu, Jun 10, 2010 at 5:42 AM, yq s <[email protected]> wrote: > Such as FILE ,which is define stdio.h ,but you didnot install it. > On debian, you should install libc6-dev. > > > On Thu, Jun 10, 2010 at 1:32 PM, avinash chaurasia > <[email protected]> wrote: > > I dont understand what do you mean by that I am getting the error while > re > > making ns-allinone-2.34/ns2.34. > > please help as i am not able to install it even after deleting whole > > package. > > Thanks > > Avinash Kumar Chaurasia > > Department of Computer Science > > IIT Kanpur, India > > > > > > On Thu, Jun 10, 2010 at 5:22 AM, yq s <[email protected]> wrote: > >> > >> You need install some build dep. > >> Reference here http://packages.debian.org/source/unstable/ns2 > >> > >> On Thu, Jun 10, 2010 at 1:10 PM, avinash chaurasia > >> <[email protected]> wrote: > >> > > >> > hello all, > >> > when i tried to rebuild my ns it gives following error. > >> > In file included from tools/random.h:43, > >> > from tools/random.cc:42: > >> > tools/rng.h:104: error: expected class-name before ‘{’ token > >> > tools/rng.h:369: error: ‘FILE’ has not been declared > >> > tools/random.cc:50: error: ‘RANDOM_RETURN_TYPE’ does not name a type > >> > make: *** [tools/random.o] Error 1 > >> > > >> > do anybody have any idea how to solve this. > >> > > >> > > >> > Thanks > >> > Avinash Kumar Chaurasia > >> > Department of Computer Science > >> > IIT Kanpur, India > >> > > >> > >> > >> > >> -- > >> YunQiang Su > > > > > > > > -- > YunQiang Su >
