Discussion:
error: Unknown symbol puts while loading streams.ko
kishore
2005-12-14 03:57:58 UTC
Permalink
hi brian,

let me say thanks for ur quick response. I had membership in openSS7
project.
I changed the make file and combined my drivers along with streams and
add on my config file to Config.master. everything is fine, but while
loading `streams.ko` with `insmod` i got some problem.
By using the command dmesg i found the reason as " streams: Unknown
symbol puts ".
I looked at /proc/modules, only streams-liskmod was loaded but not
streams.
I went through Module.map there puts is associated with symbol "U"
(indicating undefined, i hope).

One more thing i want to bring to ur notice, i didn't used `puts` in my
module. so, how to resolve this issue.

With thanks,
kishore,packetware.
Brian F. G. Bidulock
2005-12-14 04:17:55 UTC
Permalink
kishore,

"puts" is not referenced anywhere in LiS.

--brian
Post by kishore
hi brian,
let me say thanks for ur quick response. I had membership in openSS7
project.
I changed the make file and combined my drivers along with streams and
add on my config file to Config.master. everything is fine, but while
loading `streams.ko` with `insmod` i got some problem.
By using the command dmesg i found the reason as " streams: Unknown
symbol puts ".
I looked at /proc/modules, only streams-liskmod was loaded but not
streams.
I went through Module.map there puts is associated with symbol "U"
(indicating undefined, i hope).
One more thing i want to bring to ur notice, i didn't used `puts` in my
module. so, how to resolve this issue.
With thanks,
kishore,packetware.
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
***@openss7.org ¦ world; the unreasonable one persists in ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
Brian F. G. Bidulock
2005-12-14 04:37:02 UTC
Permalink
kishore,

Try this:

objdump -d -r /path_to/streams.ko | less

and search for '\<puts\>' and find what function calls it.

You can even try:

objdump -S -r /path-to/streams.ko | less

and you might get intermingled source code.

--brian
Post by kishore
hi brian,
let me say thanks for ur quick response. I had membership in openSS7
project.
I changed the make file and combined my drivers along with streams and
add on my config file to Config.master. everything is fine, but while
loading `streams.ko` with `insmod` i got some problem.
By using the command dmesg i found the reason as " streams: Unknown
symbol puts ".
I looked at /proc/modules, only streams-liskmod was loaded but not
streams.
I went through Module.map there puts is associated with symbol "U"
(indicating undefined, i hope).
One more thing i want to bring to ur notice, i didn't used `puts` in my
module. so, how to resolve this issue.
With thanks,
kishore,packetware.
_______________________________________________
Linux-streams mailing list
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
***@openss7.org ¦ world; the unreasonable one persists in ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
Loading...