Hi,
Hi,
I am using buildroot for my development work. I build a minimal linux for
ICOP VDX6354 board. I am using rtai-4.1 for hard realtime task for my
application.
I need to link the static libm to rtai_math.ko module to use math function
support in rtai.
When I use buildroot with uclibc I am able to generate libm.a. But when I
try to disassabmle the libm.a it lists lot of unknown symbols. Also when I
try to insert the rtai_math.ko it also reports the unknown symbols.
Is there any way to build the uclibc static libm.a with all symbols
included in it.
Buildroot Version : 2018.02.5 with rtai-4.1
Pl. comment.
*Kernel Error MessagesOct 9 07:50:59 buildroot kern.info
<http://kern.info> kernel: [ 150.912353] I-pipe: head domain RTAI
registered.Oct 9 07:50:59 buildroot kern.info <http://kern.info> kernel:
[ 150.912644] RTAI[hal]: mounted. ISOL_CPUS_MASK: 0.Oct 9 07:50:59
buildroot kern.warn kernel: [ 150.912988] SYSINFO - # CPUs: 1, TIMER NAME:
'lapic', TIMER IRQ: 2306, TIMER FREQ: 62425609, CLOCK NAME: 'tsc', CLOCK
FREQ: 2992451000, CPU FREQ: 2992451000, LINUX TIMER IRQ: 2306.Oct 9
07:50:59 buildroot kern.warn kernel: [ 150.913750] Oct 9 07:50:59
buildroot kern.warn kernel: [ 150.913750] REMARK: RTAI WILL NOT ACCESS
USER SPACE ON STACKS ARGS ITS WAY.Oct 9 07:50:59 buildroot kern.warn
kernel: [ 150.913750] Oct 9 07:51:03 buildroot kern.info
<http://kern.info> kernel: [ 154.037668] RTAI[malloc]: global heap size =
2097152 bytes, <BSD>.Oct 9 07:51:03 buildroot kern.warn kernel: [
154.043926] , kstacks pool size = 524288 bytesOct 9 07:51:03 buildroot
kern.warn kernel: [ 154.044298] .Oct 9 07:51:03 buildroot kern.info
<http://kern.info> kernel: [ 154.044673] RTAI[sched]: hard timer type/freq
= lapic/62425609(Hz); timing: ONESHOT; Oct 9 07:51:03 buildroot kern.warn
kernel: [ 154.045091] linear timed lists.Oct 9 07:51:03 buildroot
kern.info <http://kern.info> kernel: [ 154.045471] RTAI[sched]: Linux
timer freq = 1000 (Hz), TimeBase freq = 2992451000 hz.Oct 9 07:51:03
buildroot kern.info <http://kern.info> kernel: [ 154.045846] RTAI[sched]:
timer setup = 2569 ns, resched latency = 0 ns.Oct 9 07:51:03 buildroot
kern.info <http://kern.info> kernel: [ 154.047169] RTAI[usi]: enabled.Oct
9 07:51:03 buildroot kern.warn kernel: [ 154.067972] USERMODE CHECK:
OK.Oct 9 07:51:03 buildroot kern.warn kernel: [ 154.068754] USERMODE
CHECK PROVIDED (ns): KernelLatency -1, UserLatency -1.Oct 9 07:51:04
buildroot kern.warn kernel: [ 155.044665] KERNEL SPACE LATENCY ENDED AT
CYCLE: 9706, LATENCY = 499704, VARIANCE = 2743/10004569, GAIN =
68563/1000000000, LEAST = 9828.Oct 9 07:51:04 buildroot kern.warn kernel:
[ 155.144175] AFTER KERNEL CALIBRATION (WITH RTAI TASK, ns): KernelLatency
166989, UserLatency -1 (CALIBRATION: PERIOD 10000 (ns), TIME 1074635480
(ns)).Oct 9 07:51:05 buildroot kern.warn kernel: [ 156.153787] USER SPACE
LATENCY ENDED AT CYCLE: 10000, LATENCY = 208549, VARIANCE = 0.000632709,
GAIN = 0.000158177, LEAST = 28692.Oct 9 07:51:05 buildroot kern.warn
kernel: [ 156.156272] USERMODE USER SPACE CALIBRATION: OK.Oct 9 07:51:05
buildroot kern.warn kernel: [ 156.156942] AFTER USER CALIBRATION (ns):
KernelLatency 166989, UserLatency 69691 (CALIBRATION: PERIOD 10000 (ns),
TIME 1011276710 (ns)).Oct 9 07:51:05 buildroot kern.warn kernel: [
156.158248] FINAL CALIBRATION SUMMARY (ns): KernelLatency 166989,
UserLatency 69691.Oct 9 07:51:11 buildroot kern.warn kernel: [
162.457001] rtai_math: Unknown symbol expm1 (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.457699] rtai_math: Unknown symbol fmodf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.458650]
rtai_math: Unknown symbol fabs (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.461533] rtai_math: Unknown symbol log (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.461533] rtai_math: Unknown symbol sqrt
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.461787]
rtai_math: Unknown symbol cosh (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.462702] rtai_math: Unknown symbol asinh (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.463434] rtai_math: Unknown
symbol lroundf (err 0)*
*Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.464418] rtai_math:
Unknown symbol exp2f (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.465166] rtai_math: Unknown symbol ldexpf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.465803] rtai_math: Unknown symbol
tgammaf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.466709]
rtai_math: Unknown symbol logb (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.467461] rtai_math: Unknown symbol round (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.468338] rtai_math: Unknown
symbol atanhf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.468979] rtai_math: Unknown symbol remquof (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.470590] rtai_math: Unknown symbol
nextafterf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.471333] rtai_math: Unknown symbol powf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.472320] rtai_math: Unknown symbol lround (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.472948] rtai_math:
Unknown symbol modff (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.473841] rtai_math: Unknown symbol tanhf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.474584] rtai_math: Unknown symbol ceil
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.475467]
rtai_math: Unknown symbol logf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.476193] rtai_math: Unknown symbol floor (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.476843] rtai_math: Unknown
symbol j1 (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.477733]
rtai_math: Unknown symbol sqrtf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.478471] rtai_math: Unknown symbol y0 (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.479455] rtai_math: Unknown symbol fdimf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.480185]
rtai_math: Unknown symbol lgamma (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.480830] rtai_math: Unknown symbol roundf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.481824] rtai_math: Unknown
symbol truncf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.482571] rtai_math: Unknown symbol ldexp (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.483448] rtai_math: Unknown symbol yn
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.484224]
rtai_math: Unknown symbol __fpclassifyf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.484867] rtai_math: Unknown symbol erf (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.485781] rtai_math: Unknown
symbol scalbln (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.486522] rtai_math: Unknown symbol fabsf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.487402] rtai_math: Unknown symbol gamma
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.488203]
rtai_math: Unknown symbol acoshf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.488831] rtai_math: Unknown symbol llrint (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.489733] rtai_math: Unknown
symbol nearbyint (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.491002] rtai_math: Unknown symbol remainderf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.491998] rtai_math: Unknown symbol cosf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.492795]
rtai_math: Unknown symbol __signbit (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.493713] rtai_math: Unknown symbol rint (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.494432] rtai_math: Unknown
symbol lgammaf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.495317] rtai_math: Unknown symbol lrintf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.495943] rtai_math: Unknown symbol lrint
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.496833]
rtai_math: Unknown symbol hypotf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.497586] rtai_math: Unknown symbol __fpclassify (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.498528] rtai_math: Unknown
symbol j1f (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.499267] rtai_math: Unknown symbol asinhf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.499887] rtai_math: Unknown symbol log10f
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.500794]
rtai_math: Unknown symbol modf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.501613] rtai_math: Unknown symbol y1f (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.502522] rtai_math: Unknown symbol fmod
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.503340]
rtai_math: Unknown symbol cos (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.503949] rtai_math: Unknown symbol tanh (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.504837] rtai_math: Unknown
symbol exp2 (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.505562] rtai_math: Unknown symbol tgamma (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.506460] rtai_math: Unknown symbol coshf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.507244]
rtai_math: Unknown symbol sin (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.507845] rtai_math: Unknown symbol fma (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.508794] rtai_math: Unknown symbol atan2
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.509538]
rtai_math: Unknown symbol gammaf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.511287] rtai_math: Unknown symbol pow (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.511904] rtai_math: Unknown symbol sinh
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.512786]
rtai_math: Unknown symbol cbrtf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.513597] rtai_math: Unknown symbol atanh (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.514476] rtai_math: Unknown
symbol log10 (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.515214] rtai_math: Unknown symbol fdim (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.515826] rtai_math: Unknown symbol cbrt (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.516719] rtai_math: Unknown
symbol log2f (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.517470] rtai_math: Unknown symbol lgamma_r (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.518477] rtai_math: Unknown symbol erff
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.519235]
rtai_math: Unknown symbol scalbnf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.519868] rtai_math: Unknown symbol llroundf (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.529870] rtai_math:
Unknown symbol fmaxf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.531363] rtai_math: Unknown symbol ilogbf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.532282] rtai_math: Unknown symbol jnf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.532915]
rtai_math: Unknown symbol matherr (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.533966] rtai_math: Unknown symbol jn (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.534734] rtai_math: Unknown
symbol nextafter (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.535689] rtai_math: Unknown symbol exp (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.536430] rtai_math: Unknown symbol lgammaf_r (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.537349] rtai_math:
Unknown symbol tan (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.538178] rtai_math: Unknown symbol copysign (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.538814] rtai_math: Unknown symbol acosf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.539733]
rtai_math: Unknown symbol copysignf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.540501] rtai_math: Unknown symbol atan (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.541495] rtai_math: Unknown
symbol remainder (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.542282] rtai_math: Unknown symbol asin (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.542919] rtai_math: Unknown symbol scalbn (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.543844] rtai_math:
Unknown symbol atan2f (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.544598] rtai_math: Unknown symbol log1pf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.545509] rtai_math: Unknown symbol y0f
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.546300]
rtai_math: Unknown symbol j0 (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.546940] rtai_math: Unknown symbol acosh (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.547881] rtai_math: Unknown
symbol sinf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.548598] rtai_math: Unknown symbol scalblnf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.549558] rtai_math: Unknown symbol ceilf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.551154]
rtai_math: Unknown symbol tanf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.551812] rtai_math: Unknown symbol fmaf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.552720] rtai_math: Unknown
symbol fmax (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.553485] rtai_math: Unknown symbol ilogb (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.554401] rtai_math: Unknown symbol
llround (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.555218]
rtai_math: Unknown symbol log2 (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.555879] rtai_math: Unknown symbol frexpf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.557555] rtai_math: Unknown
symbol atanf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.558279] rtai_math: Unknown symbol log1p (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.558933] rtai_math: Unknown symbol
__signbitf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.559885] rtai_math: Unknown symbol expf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.560715] rtai_math: Unknown symbol rintf (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.561724] rtai_math:
Unknown symbol llrintf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel:
[ 162.562482] rtai_math: Unknown symbol j0f (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.563377] rtai_math: Unknown symbol sinhf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.564159]
rtai_math: Unknown symbol floorf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.564830] rtai_math: Unknown symbol nearbyintf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.565751] rtai_math: Unknown
symbol asinf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.566533] rtai_math: Unknown symbol acos (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.567518] rtai_math: Unknown symbol hypot (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.568258] rtai_math:
Unknown symbol trunc (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.568908] rtai_math: Unknown symbol expm1f (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.569833] rtai_math: Unknown symbol y1
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.571212]
rtai_math: Unknown symbol logbf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.571951] rtai_math: Unknown symbol frexp (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.572892] rtai_math: Unknown
symbol erfc (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.573705] rtai_math: Unknown symbol ynf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.574637] rtai_math: Unknown symbol erfcf (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.575411] rtai_math:
Unknown symbol remquo (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.580006] rtai_math: Unknown symbol expm1 (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.580803] rtai_math: Unknown symbol fmodf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.581829]
rtai_math: Unknown symbol fabs (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.582602] rtai_math: Unknown symbol log (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.583539] rtai_math: Unknown symbol sqrt
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.584288]
rtai_math: Unknown symbol cosh (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.584962] rtai_math: Unknown symbol asinh (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.585908] rtai_math: Unknown
symbol lroundf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.586671] rtai_math: Unknown symbol exp2f (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.587667] rtai_math: Unknown symbol ldexpf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.588432]
rtai_math: Unknown symbol tgammaf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.589367] rtai_math: Unknown symbol logb (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.590125] rtai_math: Unknown
symbol round (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.590795] rtai_math: Unknown symbol atanhf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.592397] rtai_math: Unknown symbol
remquof (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.593182]
rtai_math: Unknown symbol nextafterf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.593848] rtai_math: Unknown symbol powf (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.594855] rtai_math: Unknown
symbol lround (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.595657] rtai_math: Unknown symbol modff (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.596586] rtai_math: Unknown symbol tanhf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.597342]
rtai_math: Unknown symbol ceil (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.597992] rtai_math: Unknown symbol logf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.598942] rtai_math: Unknown
symbol floor (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.599727] rtai_math: Unknown symbol j1 (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.600707] rtai_math: Unknown symbol sqrtf (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.601543] rtai_math:
Unknown symbol y0 (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.602440] rtai_math: Unknown symbol fdimf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.603201] rtai_math: Unknown symbol lgamma
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.603848]
rtai_math: Unknown symbol roundf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.604775] rtai_math: Unknown symbol truncf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.605582] rtai_math: Unknown
symbol ldexp (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.606566] rtai_math: Unknown symbol yn (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.607331] rtai_math: Unknown symbol __fpclassifyf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.607998]
rtai_math: Unknown symbol erf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.608918] rtai_math: Unknown symbol scalbln (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.609677] rtai_math: Unknown
symbol fabsf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.611331] rtai_math: Unknown symbol gamma (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.611980] rtai_math: Unknown symbol acoshf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.612995]
rtai_math: Unknown symbol llrint (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.613773] rtai_math: Unknown symbol nearbyint (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.614716] rtai_math: Unknown
symbol remainderf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.615477] rtai_math: Unknown symbol cosf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.616380] rtai_math: Unknown symbol __signbit (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.617180] rtai_math:
Unknown symbol rint (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.617812] rtai_math: Unknown symbol lgammaf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.618750] rtai_math: Unknown symbol lrintf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.619525]
rtai_math: Unknown symbol lrint (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.620515] rtai_math: Unknown symbol hypotf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.621361] rtai_math: Unknown
symbol __fpclassify (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.622299] rtai_math: Unknown symbol j1f (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.622948] rtai_math: Unknown symbol asinhf (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.623907] rtai_math:
Unknown symbol log10f (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.624699] rtai_math: Unknown symbol modf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.625607] rtai_math: Unknown symbol y1f (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.626364] rtai_math: Unknown
symbol fmod (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.627280] rtai_math: Unknown symbol cos (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.627942] rtai_math: Unknown symbol tanh (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.628880] rtai_math: Unknown
symbol exp2 (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.629661] rtai_math: Unknown symbol tgamma (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.631333] rtai_math: Unknown symbol coshf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.632001]
rtai_math: Unknown symbol sin (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.632947] rtai_math: Unknown symbol fma (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.633710] rtai_math: Unknown symbol atan2
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.634674]
rtai_math: Unknown symbol gammaf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.636002] rtai_math: Unknown symbol pow (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.638171] rtai_math: Unknown symbol sinh
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.638836]
rtai_math: Unknown symbol cbrtf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.639765] rtai_math: Unknown symbol atanh (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.640527] rtai_math: Unknown
symbol log10 (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.641527] rtai_math: Unknown symbol fdim (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.642257] rtai_math: Unknown symbol cbrt (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.642908] rtai_math: Unknown
symbol log2f (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.643841] rtai_math: Unknown symbol lgamma_r (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.644588] rtai_math: Unknown symbol erff
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.645533]
rtai_math: Unknown symbol scalbnf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.646329] rtai_math: Unknown symbol llroundf (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.646985] rtai_math:
Unknown symbol fmaxf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.647933] rtai_math: Unknown symbol ilogbf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.648690] rtai_math: Unknown symbol jnf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.649577]
rtai_math: Unknown symbol matherr (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.650391] rtai_math: Unknown symbol jn (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.652002] rtai_math: Unknown
symbol nextafter (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.652769] rtai_math: Unknown symbol exp (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.653699] rtai_math: Unknown symbol lgammaf_r (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.654457] rtai_math:
Unknown symbol tan (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.655374] rtai_math: Unknown symbol copysign (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.656131] rtai_math: Unknown symbol acosf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.656793]
rtai_math: Unknown symbol copysignf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.657729] rtai_math: Unknown symbol atan (err 0)Oct
9 07:51:11 buildroot kern.warn kernel: [ 162.658483] rtai_math: Unknown
symbol remainder (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.659449] rtai_math: Unknown symbol asin (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.660214] rtai_math: Unknown symbol scalbn (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.660861] rtai_math:
Unknown symbol atan2f (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.661852] rtai_math: Unknown symbol log1pf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.662614] rtai_math: Unknown symbol y0f
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.663514]
rtai_math: Unknown symbol j0 (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.664320] rtai_math: Unknown symbol acosh (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.664954] rtai_math: Unknown
symbol sinf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.665884] rtai_math: Unknown symbol scalblnf (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.666639] rtai_math: Unknown symbol ceilf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.667554]
rtai_math: Unknown symbol tanf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.668348] rtai_math: Unknown symbol fmaf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.669001] rtai_math: Unknown
symbol fmax (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.669941] rtai_math: Unknown symbol ilogb (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.670714] rtai_math: Unknown symbol
llround (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.672314]
rtai_math: Unknown symbol log2 (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.672955] rtai_math: Unknown symbol frexpf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.673940] rtai_math: Unknown
symbol atanf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.674717] rtai_math: Unknown symbol log1p (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.675632] rtai_math: Unknown symbol
__signbitf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.676397] rtai_math: Unknown symbol expf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.677328] rtai_math: Unknown symbol rintf (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.677979] rtai_math:
Unknown symbol llrintf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel:
[ 162.678896] rtai_math: Unknown symbol j0f (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.679665] rtai_math: Unknown symbol sinhf
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.680614]
rtai_math: Unknown symbol floorf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.681462] rtai_math: Unknown symbol nearbyintf (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.682388] rtai_math: Unknown
symbol asinf (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.683173] rtai_math: Unknown symbol acos (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.683806] rtai_math: Unknown symbol hypot (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.684704] rtai_math:
Unknown symbol trunc (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.685471] rtai_math: Unknown symbol expm1f (err 0)Oct 9 07:51:11
buildroot kern.warn kernel: [ 162.686434] rtai_math: Unknown symbol y1
(err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.687959]
rtai_math: Unknown symbol logbf (err 0)Oct 9 07:51:11 buildroot kern.warn
kernel: [ 162.688874] rtai_math: Unknown symbol frexp (err 0)Oct 9
07:51:11 buildroot kern.warn kernel: [ 162.689633] rtai_math: Unknown
symbol erfc (err 0)Oct 9 07:51:11 buildroot kern.warn kernel: [
162.690551] rtai_math: Unknown symbol ynf (err 0)Oct 9 07:51:11 buildroot
kern.warn kernel: [ 162.701296] rtai_math: Unknown symbol erfcf (err
0)Oct 9 07:51:11 buildroot kern.warn kernel: [ 162.702155] rtai_math:
Unknown symbol remquo (err 0)*
*Regards,*
*GMRT-Servo*
Show replies by date
Hi,
servo gmrt wrote,
Hi,
I am using buildroot for my development work. I build a minimal linux for ICOP
VDX6354 board. I am using rtai-4.1 for hard realtime task for my application.
I need to link the static libm to rtai_math.ko module to use math function
support in rtai.
When I use buildroot with uclibc I am able to generate libm.a. But when I try
to disassabmle the libm.a it lists lot of unknown symbols. Also when I try to
insert the rtai_math.ko it also reports the unknown symbols.
Is there any way to build the uclibc static libm.a with all symbols included in
it.
All libm functions are nowadays included in libc.a.
If you kernel module needs them, link to -lc.
best regards
Waldemar