This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problems with plotutils/libplot and windows 2000 under minwg


On Dienstag, 24. April 2007, Sven Eschenberg wrote:
> Hi Walter,
>
> Did you set the include and lib directories properly? The command you
> quoted lacks -I and -L directives, as it seems - Could that be the problem?
>
> Regards
>
> -Sven
>
> Walter Kasberg wrote:
> > I have installed plotutils/libplot under win2k.
> >
> > while linking the program with:
> > 'gcc -lplot -lm program.o -o program'
> >
> > I get all calls to libplot as 'undefined reference'.
> >
> > I am using:
> > mingw-runtime-3.9
> > gcc-3.4.2
> > and plotutils-2.4.1-4 with GnuWin32
> >
> > What could be the problem or what could de missing?
> >
> > Any hint is appreciated.
> >
> > Walter

Lib and include are set correctly.

The solution is very simple (as Brian Dessent wrote:
the link call was in a wrong order.

Thanks
Walter


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]