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

Re: Problems configureing projects



> 1) LIBNAME does not except the second argument

LIBNAME is not what you want.  You should be adding LDFLAGS.  LIBNAME
is used to compile a set of files to static library (.a variety not .so).

> 2) Linking only links main.o, it should link all *.o files

Try it without LIBNAME and see if it works.

> Did anyone ever fix the problem of LIBNAME not excepting env virs? 
> LIBNAME= -L${QTDIR}/lib

LDFLAGS= -L$(QTDIR)/lib

(Also note the QTDIR will be replaced when loaded so if you save the
project it will have "LDFLAGS= -L/usr/lib/qt/lib".)

Dennis Payne
dusli@identicalsoftware.com