On Sat 28 Apr 2007 12:14:37 NZST +1200, Chris Hellyar wrote:

> [EMAIL PROTECTED]:~/pic$ gcc t.c
> /tmp/ccEnAA7m.o: In function `main':
> t.c:(.text+0x21): undefined reference to `gdImageCreate'
> t.c:(.text+0x2f): undefined reference to `gdImageDestroy'
> collect2: ld returned 1 exit status

You're missing to link in the gd library after calling its function(s),
so the linker tells you it ain't no nothing there of that name.

gcc -lgd t.c

Or whatever the lib is called.

Volker

-- 
Volker Kuhlmann                 is list0570 with the domain in header
http://volker.dnsalias.net/     Please do not CC list postings to me.

Reply via email to