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

Re: Compilation de UCBLogo



Thanks for the patch but I can't actually apply it
doing patch -p2 <patch

I got error like 

...
patching file `main.c'
patch: **** `>' expected at line 10 of patch


I apply the patch by but got error at link time like :
*
gcc -g -O   -I/usr/X11R6/include -O0  coms.o error.o eval.o files.o
graphics.o init.o intern.o libloc.o lists.o logodata.o main.o math.o
mem.o paren.o parse.o print.o term.o wrksp.o xgraphics.o nographics.o
-lSM -lICE  -L/usr/X11R6/lib -lbsd -lm  -lX11  -o logo
term.o: In function `termcap_getter':
/home/hilaire/download/ucblogo/term.c:104: undefined reference to
`tgetstr'
/home/hilaire/download/ucblogo/term.c:106: undefined reference to
`tputs'
term.o: In function `term_init':
/home/hilaire/download/ucblogo/term.c:145: undefined reference to
`tgetent'
home/hilaire/download/ucblogo/term.c:150: undefined reference to
`tgetnum'
term.o: In function `lcleartext':
/home/hilaire/download/ucblogo/term.c:211: undefined reference to
`tgoto'
collect2: ld returned 1 exit status
make: *** [logo] Error 1

Do I miss some library ?

Thanks

Hilaire


> ##############################################
> diff  main.c /usr/home/logo/ucblogo-4.6/main.c
> ##############################################
> 123a124,129
> > #ifdef RedHat60_i386
> > FILE *readstream;
> > FILE *writestream;
> > FILE *loadstream;
> > #endif
> >
> 129a136,141
> >
> > #ifdef RedHat60_i386
> >       readstream = stdin;
> >       writestream = stdout;
> >       loadstream = stdin;
> > #endif
> 
> ##############################################
> diff  term.c /usr/home/logo/ucblogo-4.6/term.c
> ##############################################
> 73a74,79
> > #ifdef RedHat60_i386
> > FILE *readstream;
> > FILE *writestream;
> > FILE *loadstream;
> > #endif
> >
> 
> ##############################################
> diff  parse.c /usr/home/logo/ucblogo-4.6/parse.c
> ##############################################
> 48a49
> > #ifndef RedHat60_i386
> 51a53
> > #endif

-- 
Hilaire Fernandes
Dr Geo project http://www.drgeo.seul.org