[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xgnokii compilation error
From: |
Manoj Patil |
Subject: |
Re: xgnokii compilation error |
Date: |
Wed, 10 Apr 2002 18:58:28 +0530 |
Oh, made a mistake. It works fine. I have made following changes.
Changed
LDLIBS += -L$(TOPDIR)/common -lgnokii
to
GLDLIBS += -L$(TOPDIR)/common -lgnokii
Changed
xgnokii: $(OBJS) $(TOPDIR)/common/data/DATA.o
$(TOPDIR)/common/gsm-filetypes.o $(TOPDIR)/common/$(GNOKII_LIB)
$(CC) $(LDFLAGS) $(OBJS) $(TOPDIR)/common/data/DATA.o
$(TOPDIR)/common/gsm-filetypes.o $(LDLIBS) -o $@
to
xgnokii: $(OBJS) $(TOPDIR)/common/data/DATA.o
$(TOPDIR)/common/gsm-filetypes.o $(TOPDIR)/common/$(GNOKII_LIB)
$(CC) $(LDFLAGS) $(GLDLIBS) $(OBJS) $(TOPDIR)/common/data/DATA.o
$(TOPDIR)/common/gsm-filetypes.o $(LDLIBS) -o $@
thanks
manoj.
Manoj Patil wrote:
> It did compile with the option you gave me. Thanks a lot for this.
> I am using redhat 7.2, kernel 2.4.7-10,
> gcc 2.96,
> gmake 3.79.1
>
> How do I change the makefile to implement these changes. If I move
> $(LDLIBS) before $(OBJS) and compile, it says No rule to make target
> `-L/usr/X11R6/lib', needed by `xgnokii'.
>
> manoj
>
> Pawel Kot wrote:
>
> > Hi,
> >
> > >>> address@hidden 10 April 2002 13:32:03 >>>
> > > I downloaded it again. Then I used
> > > - autoconf
> > > - ./configure
> > > - make
> > > But still the same results.
> >
> > Really strange. Yould you give the detailes of your environment?
> > As the temporary hack you may try to link xgnokii manually giving
> > "-L../common -lgnokii" before object files in the command line.
> >
> > pkot
> >
> > _______________________________________________
> > gnokii-users mailing list
> > address@hidden
> > http://mail.freesoftware.fsf.org/mailman/listinfo/gnokii-users
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/gnokii-users
- xgnokii compilation error, Manoj Patil, 2002/04/09
- xgnokii compilation error, Manoj Patil, 2002/04/10
- Re: xgnokii compilation error, Pawel Kot, 2002/04/10
- Re: xgnokii compilation error, Pawel Kot, 2002/04/10
- Re: xgnokii compilation error, Pawel Kot, 2002/04/10
- Re: xgnokii compilation error, Pawel Kot, 2002/04/10
- Re: xgnokii compilation error, Pawel Kot, 2002/04/11