Re: [v4l-utils v5 0/5] Add support for meson building

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 18, 2021 at 12:09:26PM +0200, Tomi Valkeinen wrote:
> On 18/11/2021 11:03, Tomi Valkeinen wrote:
> 
> > I was testing this (well, I'm using it, as I can't get the autoconf work 
> > with
> > cross-compilation..), and I see this problem if gconv is enabled when
> > cross-compiling for arm (buildroot system):
> > 
> > [1/2] Linking target contrib/gconv/EN300-468-TAB00.so
> > FAILED: contrib/gconv/EN300-468-TAB00.so
> > /home/tomba/work/buildroot/output32/host/bin/arm-buildroot-linux-gnueabihf-gcc  
> > -o contrib/gconv/EN300-468-TAB00.so 
> > contrib/gconv/EN300-468-TAB00.so.p/en300-468-tab00.c.o -Wl,--as-needed 
> > -Wl,--allow-shlib-undefined -shared -fPIC 
> > -Wl,-rpath,/usr/lib/x86_64-linux-gnu/gconv 
> > -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu/gconv -Wl,--start-group 
> > /usr/lib/x86_64-linux-gnu/gconv/libJIS.so 
> > /usr/lib/x86_64-linux-gnu/gconv/libJISX0213.so -Wl,--end-group
> > /usr/lib/x86_64-linux-gnu/gconv/libJIS.so: file not recognized: file 
> > format not recognized
> > collect2: error: ld returned 1 exit status
> > [2/2] Linking target contrib/gconv/ARIB-STD-B24.so
> > FAILED: contrib/gconv/ARIB-STD-B24.so
> > /home/tomba/work/buildroot/output32/host/bin/arm-buildroot-linux-gnueabihf-gcc  
> > -o contrib/gconv/ARIB-STD-B24.so 
> > contrib/gconv/ARIB-STD-B24.so.p/arib-std-b24.c.o -Wl,--as-needed 
> > -Wl,--allow-shlib-undefined -shared -fPIC 
> > -Wl,-rpath,/usr/lib/x86_64-linux-gnu/gconv 
> > -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu/gconv -Wl,--start-group 
> > /usr/lib/x86_64-linux-gnu/gconv/libJIS.so 
> > /usr/lib/x86_64-linux-gnu/gconv/libJISX0213.so -Wl,--end-group
> > /usr/lib/x86_64-linux-gnu/gconv/libJIS.so: file not recognized: file 
> > format not recognized
> 
> You can ignore the above, I think it was an error in my meson cross file.

If anyone runs into the same issue, it's likely caused by a missing
sys_root option in the cross file.

-- 
Regards,

Laurent Pinchart



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux