[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] /usr/lib/libgtk.so referenced dll: arrow not found

From: Barry Kauler
Subject: [Tinycc-devel] /usr/lib/libgtk.so referenced dll: arrow not found
Date: Thu, 10 Mar 2005 19:30:40 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050126

Hi guys,
I'm interested in putting TCC into my Puppy Linux distro.
I'm currently testing it on Puppy and on Mandrake 9.2.

I want to be able to compile small GTK 1.2 applications, and I have tested
same very small simple packages, some compile, some don't.

Two of them, uXplor (a very small 2-pane file manager) and gbase
(a radix number converter) both give this error (both in Puppy and
in Mandrake):

"/usr/lib/libgtk.so: referenced dll 'arrow' not found"

Another package that I tried gave the same message, except 'k_new' not found.

Okay, so I had a very close look at Gbase, as it is the simplest, just one small
source file. The Makefile is this:

CC = tcc
CCFLAGS = `gtk-config --cflags`
LDFLAGS = `gtk-config --libs`

gbase:    gbase.o
   $(CC) gbase.o $(LDFLAGS) -o gbase

   rm -f gbase gbase.o gbase.c~

# Make object files:
   $(CC) $(CCFLAGS) -c $*.c

gbase.o: gbase.c

Running this Makefile gives the error message shown above.
However, if I do this:

tcc `gtk-config --cflags` -o gbase gbase.c `gtk-config --libs`

Then no error message, it compiles okay.

Can anyone explain to me why the standard makefiles on gbase and some
other packages give these error messages?
I would greatly appreciate if you could send a copy of your reply to me at
address@hidden as I'm not on the TinyCC email list.

Barry Kauler

reply via email to

[Prev in Thread] Current Thread [Next in Thread]