Mailing List archive

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

Re: problems



Thomas 'Dent' Mirlacher wrote:

> > - when compiling gVideo:
> > /usr/include/glib.h:66: glibconfig.h: No such file or directory
> >
> > where can I find the glibconfig.h? I run slackware 7.0
> 
> on redhat it's on usr/include. (i've attached my version, but you should
> fetch the source, or find where glibconfig.h is on your system - probably
> you need to install glib-devel???)

I have attached my Makefile for gVideo (from 0.04 driver)

Best regards,
Cristian Bradiceanu
    [ Part 2: "Attached Text" ]

CFLAGS = `gtk-config --cflags` -Wall -O2 -mpentiumpro -DHAVE_LIBXXF86VM
CXXFLAGS = `gtk-config --cflags` -O2 -mpentiumpro -Wall -DHAVE_LIBXXF86VM
LIBS   = `gtk-config --libs` -lXxf86dga   -lXxf86vm
MFLAG  = -M

SRC  = $(wildcard *.c)
CSRC = $(wildcard *.cc)
OBJ  = $(notdir $(SRC:.c=.o)) $(notdir $(CSRC:.cc=.o))
CXX  = g++
CC   = gcc    


.PHONY: depend clean

all: gVideo


clean:
	- rm *.o .depend gVideo *~

gVideo:   gVideo.o $(OBJ)
	$(CXX) $(OBJ) $(LIBS) -o $@


%.o:    %.c %.h
	$(CC) -c $(CFLAGS) $(INCS) $(DEFINES) $<

%.o:    %.cc %.h %.hh
	$(CXX) -c $(CFLAGS) $(INCS) $(DEFINES) $<


.depend: 
	$(CXX) $(CFLAGS) $(DEFINES) $(MFLAG) $(SRC) $(CSRC) $(INCS)> .depend



include .depend



Home | Main Index | Thread Index