[Libre-soc-bugs] [Bug 890] Static Timing Analysis of eth_mac

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Jul 12 15:30:00 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=890

--- Comment #3 from Andrey Miroshnikov <andrey at technepisteme.xyz> ---
I got a barebones tasyagle script:
https://git.libre-soc.org/?p=dev-env-setup.git;a=commitdiff;h=7c5a23f1ad0c54862d1b28423dbb87648d15c042

And the issue I'm stuck on.
During compilation of distrib/sources/avt libraries, the linker complains about
an undefined reference to "errmsg_tab", an external struct. It is defined (but
commented out) in avt_lib.h and avt100.h.

make[1]: Entering directory '/home/rohdo/src/tas-yagle/distrib/sources/avt'
/usr/bin/gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-I/home/rohdo/src/tas-yagle/localinstall/include -g -O3  avt_man.o -o
/home/rohdo/src/tas-yagle/distrib/bin/avtman 
-L/home/rohdo/src/tas-yagle/distrib/lib  -lAvt100 -lMut325 -Xlinker -Bstatic
-lstdc++ -Xlinker -Bdynamic -lcrypt -lm 
/usr/bin/ld: /home/rohdo/src/tas-yagle/distrib/lib/libAvt100.a(avt_error.o): in
function `avt_initerrmsg':
/home/rohdo/src/tas-yagle/distrib/sources/avt/avt_error.c:82: undefined
reference to `errmsg_tab'
/usr/bin/ld: /home/rohdo/src/tas-yagle/distrib/sources/avt/avt_error.c:70:
undefined reference to `errmsg_tab'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:54: /home/rohdo/src/tas-yagle/distrib/bin/avtman] Error
1
make[1]: Leaving directory '/home/rohdo/src/tas-yagle/distrib/sources/avt'
make: *** [Makefile:59: avt.compilation] Error 2

I tried to uncomment the struct definition in avt_lib.h, but it lead to a
different issue, probably not the right approach is it was commented for a
reason.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list