8 More Discussions You Might Find Interesting
1. BSD
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
2. Shell Programming and Scripting
Hi All,
How do i represent £ symbol in unix and how to retain £ symbol in file.
Thanks in Advance (3 Replies)
Discussion started by: HemaV
3 Replies
3. UNIX for Advanced & Expert Users
When I debug vmlinux with gdb, after it connect to the target, I got below output:
usbcore.ko: No such file or directory.
Error while mapping shared library sections:
ohci_hcd.ko: No such file or directory.
Symbol file not found for usbcore.ko
Symbol file not found for ohci_hcd.ko
Symbol... (2 Replies)
Discussion started by: yanglei_fage
2 Replies
4. Programming
Hi,
I am working with Solaris 5.9 and I am newbie in Socket programming and I stated working with socket programming and I copyed a simple client & server program from a website which I am attaching with this and when I am compiling these files.I am getting the error--
Please Help me to... (1 Reply)
Discussion started by: smartgupta
1 Replies
5. AIX
Hi
I have compiled a binary on AIX 5.3.0.0
but when i run i get following error
Could not load program ACE_wrappers/bin/gperf:
Symbol resolution failed for ../../../lib/libc.a(posix_aio.o) because:
Symbol _posix_kaio_rdwr (number 2) is not exported from dependent
module... (0 Replies)
Discussion started by: khan_nayeem
0 Replies
6. UNIX for Advanced & Expert Users
This is my set up:
LD_LIBRARY_PATH=/apps/rogue_wave_sol7/workspaces/workshop6_u1/4d/lib:/apps/fu/section20/vendorLib/EMS/4.2/lib:/home/a487891/cppunit/lib:/usr/openwin/lib:/usr/lib
ldd -d TestDatalinkTradeRouter
libintl.so => /usr/lib/libintl.so
libw.so.1 => /usr/lib/libw.so.1... (2 Replies)
Discussion started by: agilgeous
2 Replies
7. UNIX for Dummies Questions & Answers
Hi guys,
Im new to unix; I have a problem at hand.
Somehow at the terminal, I lost the command prompt, instead I get a ">" symbol. Anything I type in does me no good. What do you recommend?
Thank you for your help. (3 Replies)
Discussion started by: csb
3 Replies
8. UNIX for Advanced & Expert Users
while trying to execute an application, i encountered thefollowing error:
ld.so.1: myApplication : fatal: relocation error: file /opt/oracle/oradb/lib/libHotDB50.so: symbol sqlcxt: referenced symbol not found
my questions :
1) what is relocation error?
2) why this error occur?
3) how... (4 Replies)
Discussion started by: champion
4 Replies
KSYMS(4) BSD Kernel Interfaces Manual KSYMS(4)
NAME
ksyms -- kernel symbol table interface
SYNOPSIS
pseudo-device ksyms
DESCRIPTION
The /dev/ksyms character device provides a read-only interface to the current kernel symbol table. It can be accessed either as a sequential
file, where it looks like an executable file but with zero-sized text and data segments, or via ioctl(2).
/dev/ksyms represents the symbol table at the time when the device is opened, and may not change until it is closed.
The in-kernel symbol manager is designed to be able to handle any type of symbol table. However, only elf(5) symbol tables are currently
dealt with.
IOCTLS
The ioctl(2) command codes below are defined in <sys/ksyms.h>.
The (third) argument to the ioctl(2) should be a pointer to the type indicated.
KIOCGSIZE (int)
Returns the total size of the current symbol table. This should be used when allocating a buffer to read in the whole symbol
table to memory.
KIOCGVALUE (struct ksyms_gsymbol)
Returns the value for the given symbol name in a symtab-independent fashion.
struct ksyms_gsymbol {
const char *kg_name;
unsigned long *kg_value;
};
The struct element kg_name should be set to the name of the requested value, and the address that kg_value points to will
receive the symbol value.
KIOCGSYMBOL (struct ksyms_gsymbol)
Returns the complete symbol for the given symbol name.
struct ksyms_gsymbol {
const char *kg_name;
void *kg_sym;
};
The struct element kg_name should be set to the name of the requested symbol, and the found symbol will be written to the
kg_sym address. It is the callers responsibility to ensure that enough space for the symbol is allocated.
FILES
/dev/ksyms
SEE ALSO
ioctl(2), nlist(3), elf(5)
HISTORY
A ksyms device exists in many different operating systems. This implementation is modelled in function after Solaris ksyms. This ksyms
driver was written by Anders Magnusson for NetBSD.
The ksyms driver first appeared in NetBSD 2.0.
BSD
November 12, 2008 BSD