Jason Victor <[EMAIL PROTECTED]> writes:

> Hello. I recently switched from Debian to Mandrake. I
> started to try to compile the GNOME app I wrote with
> the following makefile:
> 
> CC=gcc
> CFLAGS=-Wall  -g `gnome-config --cflags gnome gnomeui`
> LDFLAGS=`gnome-config --libs gnome gnomeui`
> gwom: gwom.c
>   $(CC) $(CFLAGS) -o gwom gwom.c $(LDFLAGS)
> clean:
>   rm -f gwom core
> 
> 
> However, whenever I compile, I get:
> 
> /usr/bin/ld: cannot find -ldb1
> collect2: ld returned 1 exit status
> make: *** [gwom] Error 1

install the db1-devel pacakge.

-- 
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel

Reply via email to