Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 09-09-2011, 06:45 PM
Svenstream Svenstream is offline
Junior Member
 
Join Date: Sep 2011
Posts: 14
Svenstream is on a distinguished road
Unhappy

Compiling rtmpdump using MinGW, PolarSSL: Errors by installing "Polarssl 1.0.0"


Hello,

at first:

1. I use this Version of MinGW:
http://sourceforge.net/projects/ming...t-20110530.exe
Because the newest version gives me a virus-alert!

2. I use this Version of Polarssl:
http://polarssl.org/code/releases/po...-1.0.0-gpl.tgz

3. I use this manual:
http://svnpenn.blogspot.com/2011/06/rtmpdump-mingw.html

I have changed the Polarssl-URL and the install runs
BUT ...
I have some errors in the install-log!!!
Here is the log:

Code:
Svenstream@Svenstream-PC ~/polarssl-1.0.0
$ make CC=gcc LDFLAGS="-L../library -lpolarssl -lws2_32"
  CC    aes.c
  CC    arc4.c
  CC    base64.c
  CC    bignum.c
  CC    camellia.c
  CC    certs.c
  CC    cipher.c
  CC    cipher_wrap.c
  CC    debug.c
  CC    des.c
  CC    dhm.c
  CC    havege.c
  CC    error.c
  CC    md.c
  CC    md_wrap.c
  CC    md2.c
  CC    md4.c
  CC    md5.c
  CC    net.c
net.c:40:0: warning: ignoring #pragma comment
  CC    padlock.c
  CC    pem.c
  CC    pkcs11.c
  CC    rsa.c
  CC    sha1.c
  CC    sha2.c
  CC    sha4.c
  CC    ssl_cli.c
  CC    ssl_srv.c
  CC    ssl_tls.c
  CC    timing.c
  CC    version.c
  CC    x509parse.c
  CC    xtea.c
  AR    libpolarssl.a
C:\MinGW\bin\ar.exe: creating libpolarssl.a
  RL    libpolarssl.a
  CC    aes/aescrypt2.c
  CC    aes/crypt_and_hash.c
  CC    hash/hello.c
  CC    hash/generic_sum.c
  CC    hash/md5sum.c
  CC    hash/sha1sum.c
  CC    hash/sha2sum.c
  CC    pkey/dh_client.c
  CC    pkey/dh_genprime.c
  CC    pkey/dh_server.c
  CC    pkey/key_app.c
  CC    pkey/mpi_demo.c
  CC    pkey/rsa_genkey.c
  CC    pkey/rsa_decrypt.c
  CC    pkey/rsa_encrypt.c
  CC    pkey/rsa_sign.c
  CC    pkey/rsa_verify.c
  CC    pkey/rsa_sign_pss.c
  CC    pkey/rsa_verify_pss.c
  CC    ssl/ssl_client1.c
  CC    ssl/ssl_client2.c
  CC    ssl/ssl_server.c
  CC    ssl/ssl_fork_server.c
ssl/ssl_fork_server.c: In function 'main':
ssl/ssl_fork_server.c:201:13: error: 'SIGCHLD' undeclared (first use in this fun
ction)
ssl/ssl_fork_server.c:201:13: note: each undeclared identifier is reported only
once for each function it appears in
ssl/ssl_fork_server.c:280:9: warning: implicit declaration of function 'fork'
make[1]: *** [ssl/ssl_fork_server] Error 1
make: *** [all] Error 2

Svenstream@Svenstream-PC ~/polarssl-1.0.0
$
Can someone help me ???
What is my mistake ???
Iam not an expert in compiling programms!
In this moment Iam a beginner!
I only install "MinGW" and "copy & paste" from the manual!

BTW... I have three questions...

1. In the manual I found the link...
http://repo.or.cz/w/rtmpdump.git/snapshot/HEAD.tar.gz
Is the "HEAD.tar.gz" allways the newest Version of RTMPDUMP ?
Or is it better to select the newest snapshot ?
( http://repo.or.cz/w/rtmpdump.git/sna...99084e5.tar.gz )

2. Is it right that the "Git-Name" is allways the first seven digits of the commit ?

3. Which parts of MinGW I need, for compiling and work with no errors and no problems ?
For a better answer I have insert a screenshot:



I hope someone can help me to find the right solution and answer my questions!

Greetings

Sven
Reply With Quote
  #2  
Old 09-12-2011, 08:26 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Compiling rtmpdump using MinGW, PolarSSL: Errors by installing "Polarssl 1.0.0"


Quote:
What is my mistake ???
PolarSSL 1.0.0 does not compile with MinGW. The last working version is 0.99 pre4.

http://polarssl.org/trac/ticket/35
http://polarssl.org/forum_view_topic?topic_id=188

Quote:
Is the "HEAD.tar.gz" allways the newest Version of RTMPdump?
Yes

Quote:
Is it better to select the newest snapshot?
No

Quote:
The first seven digits of the commit?
This is known as abbreviated commit hash.

Quote:
Which parts of MinGW I need?
You can do MSYS Basic System, but you will need to install Perl

Code:
mingw-get install msys-perl
Otherwise you can just use MinGW Developer ToolKit, which already includes Perl
Reply With Quote
  #3  
Old 09-26-2011, 01:14 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Errors by installing "Polarssl 1.0.0" - And three questions


After much tinkering I can now compile RTMPdump with PolarSSL 1.0.0

http://svnpenn.blogspot.com/2011/06/rtmpdump-mingw.html

Install required packages
mingw-get install libz
mingw-get install msys-wget

Install PolarSSL
wget http://polarssl.org/code/releases/polarssl-1.0.0-gpl.tgz
tar xf polarssl-1.0.0-gpl.tgz
cd polarssl-1.0.0
make CC=gcc APPS=
make DESTDIR=/mingw install

Install RTMPdump
wget http://repo.or.cz/w/rtmpdump.git/snapshot/6230845.tar.gz
tar xf 6230845.tar.gz
cd rtmpdump
make SHARED= SYS=mingw CRYPTO=POLARSSL LIBZ='-lz -static' VERSION='2.4\ git-6230845\ 2011-9-25'

Last edited by svnpenn : 09-26-2011 at 03:05 PM.
Reply With Quote
  #4  
Old 09-30-2011, 12:06 PM
reumb reumb is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
reumb is on a distinguished road
Default

Re: Errors by installing "Polarssl 1.0.0" - And three questions


thanks svnpenn for the help
Reply With Quote
Reply Post New Thread
Tags: , , , ,



Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:21 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons