Skip to content

Conversation

LilyWangL
Copy link
Contributor

@LilyWangL LilyWangL commented Oct 30, 2019

Due to some functions in the lib file are missing link libraries that required, ffmpeg[opencl, openssl] static build failed. Build error in build-x64-windows-static-rel-out.log:

> type buildtrees\ffmpeg\build-x64-windows-static-rel-out.log
=== CONFIGURING ===
ERROR: opencl not found

Build error in config.log:

libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_DeregisterEventSource referenced in function OPENSSL_showfatal
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_RegisterEventSourceW referenced in function OPENSSL_showfatal
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_ReportEventW referenced in function OPENSSL_showfatal
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_GetProcessWindowStation referenced in function OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_GetUserObjectInformationW referenced in function OPENSSL_isservice
libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp_MessageBoxW referenced in function OPENSSL_showfatal
libeay32.lib(bss_sock.obj) : error LNK2019: unresolved external symbol __imp_closesocket referenced in function sock_ctrl
libeay32.lib(bss_sock.obj) : error LNK2019: unresolved external symbol __imp_recv referenced in function sock_read
libeay32.lib(bss_sock.obj) : error LNK2019: unresolved external symbol __imp_send referenced in function sock_write
libeay32.lib(bss_sock.obj) : error LNK2019: unresolved external symbol __imp_shutdown referenced in function sock_ctrl
libeay32.lib(bss_sock.obj) : error LNK2019: unresolved external symbol __imp_WSASetLastError referenced in function sock_write
libeay32.lib(bss_sock.obj) : error LNK2019: unresolved external symbol __imp_WSAGetLastError referenced in function BIO_sock_should_retry
libeay32.lib(rand_win.obj) : error LNK2019: unresolved external symbol __imp_CreateCompatibleBitmap referenced in function RAND_screen
libeay32.lib(rand_win.obj) : error LNK2019: unresolved external symbol __imp_DeleteObject referenced in function RAND_screen
libeay32.lib(rand_win.obj) : error LNK2019: unresolved external symbol __imp_GetDeviceCaps referenced in function RAND_screen
libeay32.lib(rand_win.obj) : error LNK2019: unresolved external symbol __imp_GetDIBits referenced in function RAND_screen
libeay32.lib(rand_win.obj) : error LNK2019: unresolved external symbol __imp_GetObjectW referenced in function RAND_screen
libeay32.lib(rand_win.obj) : error LNK2019: unresolved external symbol __imp_GetDC referenced in function RAND_screen
libeay32.lib(rand_win.obj) : error LNK2019: unresolved external symbol __imp_ReleaseDC referenced in function RAND_screen

Related issue: #8631
All features test pass.

@LilyWangL LilyWangL marked this pull request as ready for review October 30, 2019 06:52
@JackBoosY
Copy link
Contributor

/azp run

@LilyWangL LilyWangL added the info:reviewed Pull Request changes follow basic guidelines label Dec 12, 2019
@JackBoosY
Copy link
Contributor

/azp run

@JackBoosY JackBoosY removed the info:reviewed Pull Request changes follow basic guidelines label Jan 16, 2020
@LilyWangL LilyWangL changed the title [ffmpeg] Fix ffmpeg[opencl, openssl] static build failed [ffmpeg] Fix ffmpeg[opencl, openssl, lzma] static build failed Jan 20, 2020
@LilyWangL LilyWangL added info:reviewed Pull Request changes follow basic guidelines and removed info:reviewed Pull Request changes follow basic guidelines labels Feb 12, 2020
@LilyWangL
Copy link
Contributor Author

/azp run

@LilyWangL
Copy link
Contributor Author

/azp run

…Lily/issue8631

# Conflicts:
#	ports/ffmpeg/CONTROL
#	ports/ffmpeg/portfile.cmake
@LilyWangL LilyWangL added the info:reviewed Pull Request changes follow basic guidelines label Apr 8, 2020
@strega-nil strega-nil merged commit b7c44f9 into microsoft:master Apr 27, 2020
@strega-nil
Copy link
Contributor

Thanks @LilyWangL :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants