From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id C451743E07 for ; Mon, 15 Aug 2022 18:10:03 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DB60968B922; Mon, 15 Aug 2022 21:10:00 +0300 (EEST) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A280768B6B9 for ; Mon, 15 Aug 2022 21:09:54 +0300 (EEST) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id C2009240002 for ; Mon, 15 Aug 2022 18:09:53 +0000 (UTC) Date: Mon, 15 Aug 2022 20:09:53 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220815180953.GR2088045@pb2> References: <20220810204712.3123-1-timo@rothenpieler.org> <20220810204712.3123-8-timo@rothenpieler.org> <20220811204616.GF2088045@pb2> <20220811211659.GH2088045@pb2> <20220814193223.GP2088045@pb2> MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH 08/11] avutil/half2float: move non-inline init code out of header X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============5098423822229919265==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5098423822229919265== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ByALBa1F2BBmKLOT" Content-Disposition: inline --ByALBa1F2BBmKLOT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 15, 2022 at 06:20:45AM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > On Thu, Aug 11, 2022 at 11:31:32PM +0200, Andreas Rheinhardt wrote: [...] > > make distclean ; ../configure --enable-shared --cc=3D'ccache clang-6.0'= --enable-pthreads --samples=3Dfate/fate-suite/ --enable-version3 --extra= -cflags=3D'-O1 -fno-omit-frame-pointer' && make -j32 > >=20 > > LD ffmpeg_g > > LD ffplay_g > > LD ffprobe_g > > libswscale/libswscale.so: undefined reference to `ff_init_half2float_ta= bles' > > clang: error: linker command failed with exit code 1 (use -v to see inv= ocation) > > Makefile:131: recipe for target 'ffprobe_g' failed > > make: *** [ffprobe_g] Error 1 > > make: *** Waiting for unfinished jobs.... > > libswscale/libswscale.so: undefined reference to `ff_init_half2float_ta= bles' > > clang: error: linker command failed with exit code 1 (use -v to see inv= ocation) > > Makefile:131: recipe for target 'ffplay_g' failed > > make: *** [ffplay_g] Error 1 > > libswscale/libswscale.so: undefined reference to `ff_init_half2float_ta= bles' > > clang: error: linker command failed with exit code 1 (use -v to see inv= ocation) > > Makefile:131: recipe for target 'ffmpeg_g' failed > > make: *** [ffmpeg_g] Error 1 > >=20 > > git grep ff_init_half2float_tables > > libavcodec/exr.c: ff_init_half2float_tables(&s->h2f_tables); > > libavcodec/pnmdec.c: ff_init_half2float_tables(&s->h2f_tables); > > libavutil/half2float.c:void ff_init_half2float_tables(Half2FloatTables = *t) > > libavutil/half2float.h:void ff_init_half2float_tables(Half2FloatTables = *t); > > libswscale/slice.c: ff_init_half2float_tables(c->h2f_tables); > >=20 > > libavcodec/half2float.c:#include "libavutil/half2float.c" > > libswscale/half2float.c:#include "libavutil/half2float.c" > >=20 > > git grep half2float.o > > libavcodec/Makefile:OBJS-$(CONFIG_EXR_DECODER) +=3D exr.o e= xrdsp.o half2float.o > > libavcodec/Makefile:OBJS-$(CONFIG_PHM_DECODER) +=3D pnmdec.= o pnm.o half2float.o > > libavutil/Makefile: half2float.o = \ > >=20 > > also i tried this: > > -#include "libavutil/half2float.c" > > +#inklude "libavutil/half2float.c" > >=20 > > and still it fails at linking stage not compile, really impressive the = compiler > > speaks german C too > >=20 >=20 > No, the libswscale/half2float.c file is just not compiled at all, see abo= ve. You seem to have a failure in humor.so thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB It is a danger to trust the dream we wish for rather than the science we have, -- Dr. Kenneth Brown --ByALBa1F2BBmKLOT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYvqL7AAKCRBhHseHBAsP q2UEAJ9W9vDNt+PnJXpX/SMlmnhqYXM5wACggFOn0hhm/KfyoUf07aLhWhBsbyE= =39lk -----END PGP SIGNATURE----- --ByALBa1F2BBmKLOT-- --===============5098423822229919265== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============5098423822229919265==--