Everything goes well after all but still can not run the programmes in the
book ...
don't know why :(
I attach a text file having all the output make command is giving ...no
error although
please see this...
On Wed, Feb 10, 2010 at 8:45 PM, Hirak Sarkar <hirak123456(a)gmail.com> wrote:
On Wed, Feb 10, 2010 at 8:43 PM, Ankur Sinha <sanjay.ankur(a)gmail.com>wrote:
> On Wed, 2010-02-10 at 20:17 +0530, Hirak Sarkar wrote:
> > The problem is solved I include in the make file
> > CFLAGS=-DLINUX -ansi -I$(WKDIR)/include -I/usr/arm-gp2x-linux/include
> > -Wall -D_GNU_SOURCE $(EXTRA)
> >
> > now it can find the header
> > Thanks everyone
> > but unfortunately another problem comes
> > nawk -f makeconf.awk >conf.c
> > /bin/sh: nawk: command not found
> > :(
> > if you have any information pls help....
> >
>
> well,
>>
>
> google turned up with this
>
>
http://forums.fedoraforum.org/archive/index.php/t-235906.html
>
> Ankur
>
>
> _______________________________________________
> india mailing list
> india(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/india
>
Thanks but I changed nawk to awk and problem solved
:)
now again another problem
gcc -DLINUX -ansi -I/home/hirak/apue.2e/include
-I/usr/arm-gp2x-linux/include -Wall -D_GNU_SOURCE -L../lib conf.c
../lib/libapue.a -o conf
/usr/lib/gcc/i586-redhat-linux/4.4.0/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
:(
I can't solve this without your help so pls..
--
Hirak Sarkar
CSE 3rd year
Kalyani Govt. Engg. College
--
Hirak Sarkar
CSE 3rd year
Kalyani Govt. Engg. College