LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2009, 04:13 PM   #1
terrytibbs
Member
 
Registered: Jul 2009
Distribution: Solaris (SCSA), Red Hat (RHCT)
Posts: 47

Rep: Reputation: 16
make error mpeg4ip


Hi,

I am trying to install mpeg4ip on Fedora 11.

The README suggests I run ./bootstrap, then make, then make install.

I get this error when I run the make command;

Any ideas???


Code:
[root@vhost2 mpeg4ip-1.5.0.1]# make
make  all-recursive
make[1]: Entering directory `/home/tim/Download/mpeg4ip-1.5.0.1'
Making all in include
make[2]: Entering directory `/home/tim/Download/mpeg4ip-1.5.0.1/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/tim/Download/mpeg4ip-1.5.0.1/include'
Making all in lib
make[2]: Entering directory `/home/tim/Download/mpeg4ip-1.5.0.1/lib'
Making all in utils
make[3]: Entering directory `/home/tim/Download/mpeg4ip-1.5.0.1/lib/utils'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include   -D_REENTRANT -fexceptions -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare  -g -O2 -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT config_opts.lo -MD -MP -MF ".deps/config_opts.Tpo" -c -o config_opts.lo config_opts.cpp; \
    then mv -f ".deps/config_opts.Tpo" ".deps/config_opts.Plo"; else rm -f ".deps/config_opts.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT -fexceptions -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -g -O2 -DMPEG4IP -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT config_opts.lo -MD -MP -MF .deps/config_opts.Tpo -c config_opts.cpp  -fPIC -DPIC -o .libs/config_opts.o
In file included from config_opts.cpp:1:
../../include/mpeg4ip.h:126: error: new declaration 'char* strcasestr(const char*, const char*)'
/usr/include/string.h:367: error: ambiguates old declaration 'const char* strcasestr(const char*, const char*)'
make[3]: *** [config_opts.lo] Error 1
make[3]: Leaving directory `/home/tim/Download/mpeg4ip-1.5.0.1/lib/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tim/Download/mpeg4ip-1.5.0.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tim/Download/mpeg4ip-1.5.0.1'
make: *** [all] Error 2
 
Old 08-18-2009, 04:30 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
I don't know what the error means, but I strongly advise you not to compile your apps as root. You only need to run make install as root.
 
Old 08-19-2009, 07:29 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://mpeg4ip.sourceforge.net/docum.../index.php#pre
http://sourceforge.net/projects/mpeg...ar.gz/download
> > 1.5.0.1
These files are 4 - 5 years old, works fine with gcc/g++-4.1.x.
The Fedora compat-gcc//c++ version 3.4 : No luck.

Suse has a nice "compat"-4.1
http://download.opensuse.org/distrib...oss/suse/i586/
> > gcc41-4.1.3_20080612-26.5 , cpp41-4.1.3_20080612-26.5 ,
libmudflap41-4.1.3_20080612-26.5 ,
gcc41-c++-4.1.3_20080612-26.5 , libstdc++41-devel-4.1.3_20080612-26.5

libmudflap41 etc. depends on rpmlibs so please start with
# yum -y install rpm-devel
which will install about 5 packages.

Put the Suse packages in a 'new empty' directory, and ...
# rpm -Uvh *.rpm
................
................

1)
This is the first choice of options, requiring minimum editing :
cd mpeg4ip-1.5.0.1 ( I assume, sh bootstrap is done )
./configure CC=gcc-4.1 CXX=g++-4.1 --enable-player=no --disable-player

Please edit : mpeg4ip-1.5.0.1/server/mp4live/video_x264.cpp
→ delete or uncomment line 171.

Explanation : Some of your dependecies ( x264 a/o )
have changed since 2004.

... and run 'make'

2) If you want the player :
./configure CC=gcc-4.1 CXX=g++-4.1

Please edit : mpeg4ip-1.5.0.1/player/src/video_sdl.cpp:280:
uncomment line 279-280 :
Code:
/*	XMoveWindow(info.info.x11.display, info.info.x11.wmwindow, 
/*		    m_pos_x, m_pos_y); */
... I don,t know, how the "info" in player then works, but ...
... 'make' runs with no errors.

Good luck !
.....

Last edited by knudfl; 08-19-2009 at 08:17 AM.
 
Old 08-19-2009, 12:53 PM   #4
terrytibbs
Member
 
Registered: Jul 2009
Distribution: Solaris (SCSA), Red Hat (RHCT)
Posts: 47

Original Poster
Rep: Reputation: 16
Thanks very much for the replies.

I figured that MPEG4IP was to old and chose MP4Box instaed (part of gpac).

I needed to hint my movies in order to stream them using Darwin Streaming Server.

I am now streaming baby c'mon!! It's all gravy! Woo hoo!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help to install MPEG4IP Eric Hsu Linux - Software 2 01-20-2006 09:01 AM
mpeg4ip and mplayer problem mting923 Linux - Newbie 2 10-23-2005 05:17 PM
Can't make MPeg4ip on FedoraCore3 lilopg Linux - Software 0 03-10-2005 12:43 AM
mpeg4ip and faad2 daihard Linux - Software 0 01-12-2005 04:19 PM
difficulty installing MPEG4iP arion Linux - Newbie 27 12-22-2004 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration