update library of livemedia

*nix specific usage questions
eagleliu
New Cone
New Cone
Posts: 5
Joined: 19 Sep 2005 11:48

update library of livemedia

Postby eagleliu » 21 Sep 2005 11:51

hi, i am an newer for vlc. i have succeeded in compiling the source code of vlc in cygwin. now,
i need to update livedotcom. I have set the configure option --with-livedotcom-tree=/home/zxx/live(the location of my livedotcom).
config is successful, but during 'make', there are many errors such as:
/home/zxx/live/liveMedia/libliveMedia.a(.text+0x112d3):MP3StreamState.cpp: undefined reference to`___getreent'
/home/zxx/live/liveMedia/libliveMedia.a(.text+0x113ce):MP3StreamState.cpp: undefined reference to `_gettimeofday
/home/zxx/live/liveMedia/libliveMedia.a(.text+0x354ee):RTSPClient.cpp: undefined reference to `_connect'
/home/zxx/live/liveMedia/libliveMedia.a(.text+0x3e0e5):OnDemandServerMediaSubsession.cpp: undefined reference to `_gethostname'


i do not know how to solve such problems, i hope someone kind will help me.

:(

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 21 Sep 2005 17:12

Which genMakefiles did you run?
Don't use PMs for support questions.

eagleliu
New Cone
New Cone
Posts: 5
Joined: 19 Sep 2005 11:48

Postby eagleliu » 22 Sep 2005 03:37

i downloaded the source code of the liberary from http://www.live.com. i found the genMakefiles just in the downloaded fold.
i runed the genMakefiles for the os of cygwin.
./genMakefiles cygwin

the content of genMakefiles is listed as following:
#!/bin/sh

usage() {
echo "Usage: $0 <os-platform>"
exit 1
}

if [ $# -ne 1 ]
then
usage $*
fi

cd liveMedia
/bin/rm -f Makefile
cat Makefile.head ../config.$1 Makefile.tail > Makefile
chmod a-w Makefile

cd ../groupsock
/bin/rm -f Makefile
cat Makefile.head ../config.$1 Makefile.tail > Makefile
chmod a-w Makefile

cd ../UsageEnvironment
/bin/rm -f Makefile
cat Makefile.head ../config.$1 Makefile.tail > Makefile
chmod a-w Makefile

cd ../BasicUsageEnvironment
/bin/rm -f Makefile
cat Makefile.head ../config.$1 Makefile.tail > Makefile
chmod a-w Makefile

#cd ../testProgs
#/bin/rm -f Makefile
#cat Makefile.head ../config.$1 Makefile.tail > Makefile
#chmod a-w Makefile

cd ..
/bin/rm -f Makefile
cat Makefile.head config.$1 Makefile.tail > Makefile
chmod a-w Makefile


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 68 guests