Re: Static Compiling -> -static option problem



Flavio Alberto Lopes Soares <engenharia3 maqplas com br> writes: 
> LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -static -o $@
> 
> but when I compile/link using make it says this error message: 
> 
> /usr/bin/ld: cannot find -lgdk_imlib
> collect2: ld returned 1 exit status
> 
> but when compiling dynamically (without -static option) it compiles
> normally, the gdk_imlib exists, what I doing wrong ?

Maybe you don't have a static version of gdk_imlib? Do you have 
libgdk_imlib.a?

Havoc



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