[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mingw-cross-env-list] gd undefined references
From: |
super pollo |
Subject: |
[Mingw-cross-env-list] gd undefined references |
Date: |
Fri, 22 Oct 2010 23:28:15 +0200 |
hi there!
this is my first question so please bear with me.
i am trying out the crosscompiler, but i am having problems.
i did:
$make gcc
$mage gd
then i tried to compile this:
http://www.libgd.org/Basics
with this:
$ i686-pc-mingw32-gcc -lgd -lpng -lz -ljpeg -lfreetype -lm gd1.c
but i got this:
/tmp/ccmNaNdn.o:gd1.c:(.text+0x26): undefined reference to
address@hidden'
/tmp/ccmNaNdn.o:gd1.c:(.text+0x51): undefined reference to
address@hidden'
/tmp/ccmNaNdn.o:gd1.c:(.text+0x7c): undefined reference to
address@hidden'
/tmp/ccmNaNdn.o:gd1.c:(.text+0xb6): undefined reference to
address@hidden'
/tmp/ccmNaNdn.o:gd1.c:(.text+0xfb): undefined reference to address@hidden'
/tmp/ccmNaNdn.o:gd1.c:(.text+0x11a): undefined reference to
address@hidden'
/tmp/ccmNaNdn.o:gd1.c:(.text+0x140): undefined reference to
address@hidden'
collect2: ld returned 1 exit status
any suggestion?
tia
bye
- [Mingw-cross-env-list] gd undefined references,
super pollo <=