-
Notifications
You must be signed in to change notification settings - Fork 3.3k
-
Hi guys!
So anyone knows what happened to this? |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 4 comments · 5 replies
-
We could use some more context here. The most useful things would be the full command lines used to build A full build log would work specifically the build commands used to produce those two files would be the most useful. |
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 2
-
For the libopus build/opus/configure:
cd build/opus && ./autogen.sh
build/opus/dist/lib/libopus.so: build/opus/configure
cd build/opus && \
emconfigure ./configure \
CFLAGS=-O3 \
--prefix="$$(pwd)/dist" \
--disable-static \
--disable-doc \
--disable-extra-programs \
--disable-asm \
--disable-rtcd \
--disable-intrinsics \
--disable-hardening \
--disable-stack-protector \
&& \
emmake make -j && \
emmake make install
|
Beta Was this translation helpful? Give feedback.
All reactions
-
for the lame build/lame/dist/lib/libmp3lame.so:
cd build/lame/lame && \
git reset --hard && \
patch -p2 < ../../lame-fix-ld.patch && \
emconfigure ./configure \
CFLAGS="-DNDEBUG -O3" \
--prefix="$$(pwd)/../dist" \
--host=x86-none-linux \
--disable-static \
\
--disable-gtktest \
--disable-analyzer-hooks \
--disable-decoder \
--disable-frontend \
&& \
emmake make && \
emmake make install |
Beta Was this translation helpful? Give feedback.
All reactions
-
then, let's build with newest emsdk and ubuntu from https://github.com/Aloento/ffmpeg.js |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
what's the solution? I meet the same issue. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Same issue here in another project trying to link multiple libraries. Looks like every library gets code generated and imported (hence the symbols) from some standard functions emscripten provides internally. Then, when trying to link against those libraries, the symbols from every library gets exposed to the linker. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Maybe related: #11985 add |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
We could use some more context here.
The most useful things would be the full command lines used to build
build/opus/dist/lib/libopus.so
andbuild/lame/dist/lib/libmp3lame.so
. These files should contain the math library functions such ascos
but they seem to be including it so we would need to find out why.A full build log would work specifically the build commands used to produce those two files would be the most useful.