Skip to Content.
Sympa Menu

sm-users - Re: [SM-Users] Can't cast athcool...

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: "David Brown" <dmlb2000 AT gmail.com>
  • To: "Javier Vasquez" <jevv.cr AT gmail.com>
  • Cc: sm-users AT lists.ibiblio.org
  • Subject: Re: [SM-Users] Can't cast athcool...
  • Date: Sun, 18 Mar 2007 13:45:03 -0700

On 3/18/07, Javier Vasquez <jevv.cr AT gmail.com> wrote:
On 3/17/07, David Brown <dmlb2000 AT gmail.com> wrote:
> On 3/17/07, Javier Vasquez <jevv.cr AT gmail.com> wrote:
> > Hi,
> >
> > As I have a laptop, I just wanted to cast athcool, but it doesn't get
> > to compile:
> >
> > [...]
>
> Its missing a library to link to zlib most-likely, probably should
> submit a bug on this one. I got it to compile easy enough with a
> simple makefile change.
>
> Thanks,
> - David Brown

Thanks a lot... I'll look into smgl bug submission... Now, what
change did you perform? I see:

SRCS = athcool.c scanpci.c
OBJS = $(SRCS:.c=.o)

all: $(PACKAGE)

$(PACKAGE): $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@

.c.o:
$(CC) $(CFLAGS) $(DEFS) -c $< -o $@

athcool.o: athcool.c chips.h athcool.h

scanpci.o: scanpci.c athcool.h

I can't just figure out what to include in the make file, maybe a "-L"
or "-l" pointing somewhere?

Thanks,

Actually if you see at the top where it says 'LDFLAGS=-lpci' add a -lz
to that variable and it should work fine

Thanks,
- David Brown




Archive powered by MHonArc 2.6.24.

Top of Page