Re: genius



On Sun, Feb 14, 1999 at 02:46:51PM +1100, Damo wrote:
> i'm attempting to compile genius, but i'm getting this, and i have no idea how
> to fix it:
> 
> bin/sh ../libtool --mode=link gcc  -O2 -fomit-frame-pointer -mcpu=i586
> -DWITH_READLINE_SUPPORT  -o gnome-genius  calc.o eval.o gnome-genius.o util.o
> dict.o funclib.o mymath.o mpwrap.o matrix.o lexer.o parse.o -rdynamic
> -L/usr/local/lib -L/usr/X11R6/lib   -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib
> -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd
> -laudiofile -lm -ldb -lglib -ldl  -lgmp2                  -lreadline 
> gcc -O2 -fomit-frame-pointer -mcpu=i586 -DWITH_READLINE_SUPPORT -o
> gnome-genius calc.o eval.o gnome-genius.o util.o dict.o funclib.o mymath.o
> mpwrap.o matrix.o lexer.o parse.o -rdynamic -L/usr/local/lib -L/usr/X11R6/lib
> -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule
> -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl
> -lgmp2 -lreadline
> lexer.o: In function `yylex':
> lexer.o(.text+0x9ee): undefined reference to `yywrap'
> lexer.o: In function `input':
> lexer.o(.text+0xf6b): undefined reference to `yywrap'
> collect2: ld returned 1 exit status
> 
> 
> anything that could shed light onto the matter would be great,
>  damo

what version of flex are you using ... is this from CVS or the 0.2.0 release?
... the weird thing is I can't find -lfl as one of the libraries which should
be on the link line ... try the link command separately on a command line and
add -lfl to it ... that should make it work I think

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



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