[Live-devel] Makefile issue

Ross Finlayson finlayson at live555.com
Mon Jan 2 13:53:23 PST 2006


>$ genMakefiles linux
>$ make
>
>on my Fedora Core 4 box:
>ld -olibBasicUsageEnvironment.a -L. -r -Bstatic \
>         BasicUsageEnvironment0.o BasicUsageEnvironment.o
>BasicTaskScheduler0.o BasicTaskScheduler.o DelayQueue\.o
>BasicHashTable.o
>make[1]: Leaving directory 
>`/usr/local/src/livemedia/live/BasicUsageEnvironment'
>cd testProgs ; make
>c++ -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include
>-I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFI\LE_SOURCE=1 -Wall -DBSD=1
>AudioInputDevice.cpp
>make[1]: Entering directory `/usr/local/src/livemedia/live/testProgs'
>c++ -c -I../UsageEnvironment/include -I../groupsock/include
>-I../liveMedia/include -I../BasicUsageEnvironment/\include -I. -O2
>-DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -Wall -DBSD=1
>testMP3Streamer.cpp
>make[1]: *** No rule to make target `../liveMedia/libliveMedia.a',
>needed by `testMP3Streamer'.  Stop.

The problem here is that you need to run "make" in the "liveMedia" 
(and "groupsock" and "UsageEnvironment" and "BasicUsageEnvironment") 
directories, *before* you run "make" in the "testProgs" directory.

If you run "make" in the "live" directory (after first running 
"genMakefiles linux"), then this should happen automatically.  I 
don't know why it's not working for you.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list