1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | static libraries |
From: | "Siddons, David via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Mon, 18 Sep 2023 18:32:19 +0000 |
Hi Tech-talk,
I need to use a library in an EPICS app, set up using MakeBaseApp. It wants to have a static version of the library, which the library package doesn't supply. Why does it need the static library? I'm not trying to build a static program. Here's the Makefile
fragment which builds it:
PROD_HOST += display
display_SRCS += display.c
display_LIBS += ezca
display_DIR = /usr/local/lib/
display_LIBS += ssd1306_i2c
display_LIBS += $(EPICS_BASE_HOST_LIBS)
and it gives:
make[1]: *** No rule to make target '../../lib/linux-arm/libssd1306_i2c.a', need
ed by 'display'. Stop.
I'm building it natively on a Zynq Debian 10 system. The shared libraries are in /usr/local/lib:
/usr/local/lib/libssd1306_i2c.la /usr/local/lib/libssd1306_i2c.so.0
/usr/local/lib/libssd1306_i2c.so /usr/local/lib/libssd1306_i2c.so.0.0.3
Pete.
|