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

Re: compiling lame - glib error



On Mon, Jan 29, 2001 at 06:35:44PM -0500, joeytsai wrote:
> Hi, I just downloaded the newest version of lame (3.87) and I'm having problems
> compiling.  The error message I'm getting is:
> 
> gcc  -DNDEBUG -O3 -fomit-frame-pointer -funroll-loops -ffast-math
> -finline-functions -Wall -pedantic -DBRHIST -DHAVEGTK  -DUSE_LAYER_2
> -DUSE_LAYER_1 -DHAVEMPGLIB -DLAMESNDFILE  -fPIC  -c main.c -o main.o
> In file included from /usr/include/gdk/gdktypes.h:33,
>                  from /usr/include/gdk/gdk.h:31,
>                  from /usr/include/gtk/gtk.h:31,
>                  from main.c:18:
> /usr/include/glib.h:66: glibconfig.h: No such file or directory
> make: *** [main.o] Error 1

As a temporary fix, add -I/usr/lib/glib/include in the Makefile so
that it is included in this gcc line.

The proper fix is probably due to a broken Makefile.in or such

hth,
mark



Reply to: