Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error in Ubuntu 18 with srs-4.0.76 #2219

Closed
ap6108 opened this issue Mar 3, 2021 · 5 comments
Closed

Compilation error in Ubuntu 18 with srs-4.0.76 #2219

ap6108 opened this issue Mar 3, 2021 · 5 comments
Assignees
Labels
Bug It might be a bug. TransByAI Translated by AI/GPT.
Milestone

Comments

@ap6108
Copy link

ap6108 commented Mar 3, 2021

Description'

Please ensure that the markdown structure is maintained.
./configure --with-hls --with-ssl --with-http-server --with-http-callback --with-http-api --with-ingest --with-stream-caster

  1. SRS Version: srs-4.0.76
  2. The log for SRS is as follows:'

Please ensure that the markdown structure is maintained.
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/avit/code/srs-4.0.76/trunk/objs/Platform-Linux-4.15.0-GCC7.5.0-3ubuntu1~18.04)-SRS4/openssl-OpenSSL_1_0_2u/tools'
/bin/sh: 1: Syntax error: ")" unexpected
Makefile:548: recipe for target 'install_sw' failed
make: *** [install_sw] Error 2
Build openssl-OpenSSL_1_0_2u failed.

TRANS_BY_GPT3

@ap6108
Copy link
Author

ap6108 commented Mar 3, 2021

Compile on Ubuntu 18.04

TRANS_BY_GPT3

@hugangfeng333
Copy link

hugangfeng333 commented Mar 3, 2021

Description
'
Make sure to maintain the markdown structure.
./configure --with-hls --with-ssl --with-http-server --with-http-callback --with-http-api --with-ingest --with-stream-caster

  1. SRS version: srs-4.0.76
  2. The log of SRS is as follows:
    Make sure to maintain the markdown structure.
    make[1]: Nothing to be done for 'all'.
    make[1]: Leaving directory '/home/avit/code/srs-4.0.76/trunk/objs/Platform-Linux-4.15.0-GCC7.5.0-3ubuntu1~18.04)-SRS4/openssl-OpenSSL_1_0_2u/tools'
    /bin/sh: 1: Syntax error: ")" unexpected
    Makefile:548: recipe for target 'install_sw' failed
    make: *** [install_sw] Error 2
    Build openssl-OpenSSL_1_0_2u failed.

I also can't compile, the same problem occurs.

TRANS_BY_GPT3

@hugangfeng333
Copy link

hugangfeng333 commented Mar 3, 2021

./configure
1, SRS version 4.0.76,
2, The log is as follows:
make[2]: Leaving directory '/home/hs/srs/trunk/objs/Platform-Linux-5.4.0-GCC7.5.0-3ubuntu118.04)-SRS4/openssl-OpenSSL_1_0_2u/test'
make[1]: Leaving directory "/home/hs/srs/trunk/objs/Platform-Linux-5.4.0-GCC7.5.0-3ubuntu1
18.04)-SRS4/openssl-OpenSSL_1_0_2u/test
making all in tools...
make[1]: Entering directory "/home/hs/srs/trunk/objs/Platform-Linux-5.4.0-GCC7.5.0-3ubuntu118.04)-SRS4/openssl-OpenSSL_1_0_2u/tools"
make[1]: Nothing to be done for "all".
make[1]: Leaving directory "/home/hs/srs/trunk/objs/Platform-Linux-5.4.0-GCC7.5.0-3ubuntu1
18.04)-SRS4/openssl-OpenSSL_1_0_2u/tools
/bin/sh: 1: Syntax error: ")" unexpected
Makefile:548: recipe for target 'install_sw' failed
make: *** [install_sw] Error 2
Build openssl-OpenSSL_1_0_2u failed.

TRANS_BY_GPT3

@winlinvip winlinvip changed the title srs-4.0.76编译出错 Ubuntu18下,srs-4.0.76编译出错 Mar 3, 2021
@winlinvip winlinvip added the Bug It might be a bug. label Mar 3, 2021
@winlinvip
Copy link
Member

winlinvip commented Mar 3, 2021

The reason is that Ubuntu's GCC version has a problem.

root@16b2fc2d4965:/srs# gcc --version 2>/dev/null|grep gcc|awk '{print $3}'
9.3.0-17ubuntu1~20.04)

As a result, there is a special character ) in the temporary directory of SRS.

Ubuntu cannot compile openssl1.1 issue, please refer to this link.

TRANS_BY_GPT3

winlinvip added a commit that referenced this issue Mar 3, 2021
winlinvip added a commit that referenced this issue Mar 3, 2021
winlinvip added a commit that referenced this issue Mar 3, 2021
winlinvip added a commit that referenced this issue Mar 3, 2021
@winlinvip
Copy link
Member

Fixed in 4.0.77

@winlinvip winlinvip self-assigned this Aug 28, 2021
@winlinvip winlinvip added this to the 4.0 milestone Sep 4, 2021
@winlinvip winlinvip changed the title Ubuntu18下,srs-4.0.76编译出错 Compilation error in Ubuntu 18 with srs-4.0.76 Jul 28, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug It might be a bug. TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

3 participants