C (46/257)

From:
Date:03 Feb 2001 at 17:32:49
Subject:Re: GCC link prob

Hello Jose

On 03-Feb-01, you wrote:

>
> Hello,
> Im having troubles compiling MUI developer package demos with GCC
> (last geekgadgets "official" version). I get this link error:
>
> /gg/lib/libamiga.a(setattrs.o)(.text+0x4): undefined reference to
> `IntuitionBase'
>
> Any1 knows whats missing?! Ive tryed many intuition includes and so.
> Thank You
> Jose Andias
>

Even though you may have included the file "proto/intuition.h", you will
need to define

struct IntuitionBase *IntuitionBase

yourself somewhere in the global scope of your program (the proto file only
declares it as an extern). Don't forget that you will also need to open the
Intuition library yourself as libamiga doesn't do it for you.

Regards

Steve

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981221647/
---------------------------------------------------------------------_->