On Wed, 17 Aug 2005 13:39:15 -0700
JD <[EMAIL PROTECTED]> wrote:
> At 06:44 PM 8/17/2005 +0200, [EMAIL PROTECTED] wrote:
> > > # cat /etc/ld.so.conf
> > > /usr/local/lib
> > > /usr/X11R6/lib
> > > /usr/X11R6/include/X11
You have no idea what you are doing, have you?
excerpt from 'man ld.so':
DESCRIPTION
The programs ld.so and ld-linux.so* find and load the shared libraries
needed by a program, prepare the program to run, and then run it.
This happens during runtime and it looks for shared libraries. There are no
shared
libraries in /usr/X11R6/include/X11.
> >Try compiling, setting LDFLAGS to /usr/X11R6/include, May be it works
> >out. :)
>
> Syed
>
> Thanks for the help ... but after exporting LDFLAGS to /usr/X11R6/include
> the compile still fails.
As I told in my mail, LDFLAGS is mostly used by the linker, that works with
object files and again shared libraries, I repeat: there are no object files and
shared libraries in usr/X11R6/include. You know the difference between
compiling and linking?
>
> Here's the output again.
>
> make[2]: Entering directory
> `/home/users/jdlouhy/source/pvr/myth/mythtv-0.18.1/libs/libmyth'
> g++ -c -pipe -march=pentium-mmx -Wall -W -O3 -Wall -Wno-switch
> -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -DUSING_IVTV
> -DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
> -DUSING_OSS -DUSE_JOYSTICK_MENU -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -I/usr/share/qt/mkspecs/default -I. -I/usr/local/include
> -I../libmythsamplerate -I../libmythsoundtouch -I../.. -I/include -o
> util-x11.o util-x11.cpp
you can see this command like I see it, there is no -I/usr/X11/include, so
LDFLAGS didn't
work like I promised. You have to look into the Makefile and search which macro
is used.
One possibility is CPPFLAGS or CXXFLAGS. If this both doesn't work, don't come
back
and complain it doesn't work, instead investigate why.
Gerald
--
Gerald Dachs [EMAIL PROTECTED]
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss