Svenstream
09-09-2011, 05:45 PM
Hello,
at first:
1. I use this Version of MinGW:
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110530/mingw-get-inst-20110530.exe
Because the newest version gives me a virus-alert!
2. I use this Version of Polarssl:
http://polarssl.org/code/releases/polarssl-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:
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/snapshot/c58cfb3e9208c6e6bc1aa18f1b1d650d799084e5.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:
http://img263.imageshack.us/img263/1929/mingwsetup.png (http://imageshack.us/photo/my-images/263/mingwsetup.png/)
I hope someone can help me to find the right solution and answer my questions!
Greetings
Sven
at first:
1. I use this Version of MinGW:
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110530/mingw-get-inst-20110530.exe
Because the newest version gives me a virus-alert!
2. I use this Version of Polarssl:
http://polarssl.org/code/releases/polarssl-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:
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/snapshot/c58cfb3e9208c6e6bc1aa18f1b1d650d799084e5.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:
http://img263.imageshack.us/img263/1929/mingwsetup.png (http://imageshack.us/photo/my-images/263/mingwsetup.png/)
I hope someone can help me to find the right solution and answer my questions!
Greetings
Sven