Access to library methods



Hello,

In my self-written GNOME application I need access to the libaudiofile
functions. Compiling works great,
but the linker complains about undefined references to the libaudiofile
functions. Im using
gnome-config gnomeui --cflags
(Output: -I/opt/gnome/include -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include -I/usr/X11R6/include
-I/opt/gnome/lib/glib/include)
to get compiler flags and
gnome-config gnomeui --libs
(Output: -rdynamic -L/opt/gnome/lib -L/usr/X11R6/lib -lgnomeui
-lart_lgpl -lgdk_imlib -ljpeg -ltiff -lgif -lpng -lz -lSM -lICE -lgtk
-lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lm
-laudiofile -ldb -lglib -ldl)
to get the linker flags.
There's no problem compiling and running any of the other gnome-apps, so
what am I doing wrong?

    Jan

PS: Im on a RedHat 5.1/Intel, with gnome 0.99.1 (compiled from
tar-balls) and egcs-2.91.60 (compiled from tar-ball)





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