make error "undefined reference to 'strtok_r'

This forum is about all development around libVLC.
KimGwanyoung
Blank Cone
Blank Cone
Posts: 18
Joined: 19 Aug 2016 10:10

make error "undefined reference to 'strtok_r'

Postby KimGwanyoung » 29 Aug 2016 12:51

Hi all.

I am trying make vlc for win32.
I finished configuring of the vlc building for win32(https://wiki.videolan.org/Win32Compile/ 6.2 configure).
And I executed the "make" instruction.

But I met errors as follows.
/home/gykim/winvlc/vlc-2.2.4/contrib/i686-w64-mingw32/lib/libx265.a(param.cpp.obj): In function `ZN4x26512parseCpuNameEPKcRb':
/home/jb/vlc-2.2/contrib/mingw/x265/source/common/param.cpp:775: undefined reference to `strtok_r'
/home/gykim/winvlc/vlc-2.2.4/contrib/i686-w64-mingw32/lib/libx265.a(param.cpp.obj): In function `ZN4x26515parseLambdaFileEP10x265_param':
/home/jb/vlc-2.2/contrib/mingw/x265/source/common/param.cpp:1332: undefined reference to `strtok_r'
collect2: error: ld returned 1 exit status


My version.
OS : ubuntu 14.04 LTS
vlc source : 2.2.4 release version.
contrib version : vlc-contrib-i686-w64-mingw32-20160121.tar.bz2 (The latest version is 64bits binary. So I received it from "https://download.videolan.org/videolan/ ... 4-mingw32/")

What should I do?
Why does the path "/home/jb/vlc-2.2" come ?

Best regards,
Gwanyoung Kim.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: make error "undefined reference to 'strtok_r'

Postby Jean-Baptiste Kempf » 23 Sep 2016 14:50

Either build your contribs, or update mingw.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 30 guests