Search found 1 match

by SamBlackmore
2013-04-11T10:33:09-07:00
Forum: MagickWand
Topic: init.c:(.text+0x34): undefined reference to `main'
Replies: 0
Views: 14232

init.c:(.text+0x34): undefined reference to `main'

Hi,

I'm trying to compile the C example equivalent to convert.

When I type:
cc -o logo_test `pkg-config --cflags --libs MagickWand` logo_test.c

I get the following message:
/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.5.4/../../../crt1.o: In function `_start':
init.c:(.text+0x34): undefined ...