[mythtv] Compiling on cygwin
Kevin Kuphal
kuphal at dls.net
Fri Dec 9 16:23:40 EST 2005
Kevin Kuphal wrote:
> I've been working on the side to compile on cygwin as an experiment
> and I've run into this error that I don't know how to fix:
>
> make[2]: Entering directory `/cygdrive/u/mythtv-svn/mythtv/libs/libmyth'
> make[2]: Nothing to be done for `first'.
> make[2]: Leaving directory `/cygdrive/u/mythtv-svn/mythtv/libs/libmyth'
> cd libmythtv && make -f Makefile
> make[2]: Entering directory
> `/cygdrive/u/mythtv-svn/mythtv/libs/libmythtv'
> make[2]: *** No rule to make target `../libmyth/libmyth-0.18.so',
> needed by `cyg
> mythtv-0.18-0.so'. Stop.
> make[2]: Leaving directory `/cygdrive/u/mythtv-svn/mythtv/libs/libmythtv'
> make[1]: *** [sub-libmythtv] Error 2
> make[1]: Leaving directory `/cygdrive/u/mythtv-svn/mythtv/libs'
> make: *** [sub-libs] Error 2
>
> I had set SHLIB_LIBPRE=lib prior to starting this to avoid the cygmyth
> prefix v.s the libmyth prefix but it doesn't seem to have taken. I'm
> not sure how to fix this but thought someone here might be familiar
> enough with Makefiles and the code to know if there is a simple fix.
>
Well, I got past that (seems to be a naming issue as I thought but
easily corrected). Any idea on this one:
[snip]
oc_previewgenerator.o moc_dvbtransporteditor.o -L/usr/lib/qt3/lib
-L../libmyth
-L../libavutil -L../libavcodec -L../libavformat -L../libmythmpeg2
-lmyth-0.18 -l
mythavutil-0.18 -lmythavcodec-0.18 -lmythavformat-0.18 -lmythmpeg2-0.18
-lfreety
pe -lmp3lame -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11
-lpthread
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
cannot find
-lmyth-0.18
collect2: ld returned 1 exit status
make: *** [cygmythtv-0.18-0.so] Error 1
libmyth-0.18-0.so exists in the ../libmyth folder but nothing seems to
make the linker find it. Tried changing the library name to myth-0.18-0
but that doesn't help. Just looking for suggestions.
Kevin
--
Looking for affordable webhosting? http://www.sitecity.net
More information about the mythtv-dev
mailing list