Re: compilation error on IRIX 6.5 version 5.3.rc2

Kai-Thorsten Hambrecht <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

> Just to get things straight: there's no net-snmp code that is directly
> looking for an "uxsyserr" file. Instead, the agent is likely triggering
> some IRIX system call that tries to locate that file.

i also got this error on my IRIX systems. Concerning this issue, i
posted a message last year with a trace file attached. Maybe this helps
for further investigations (i have attached this file again).
BTW: creating an empty file with the appropriate file name doesn't help.

> Since no net-snmp developer has access to an IRIX machine, it'd need a
> volunteer to further look into this. Anyone?

unfortunately i can not give you online-access to one of my IRIX boxes
and since i'm not a developer i am likely not able to figure this out.
But i could do some tests.

Regards,
 Kai.
snmpd.trace.txt (text/plain, 5.1 KB)
execve("./snmpd", ["./snmpd", "-f", "-V", "-c", "../snmpd.conf"], [/* 22 vars */]) = 0
syssgi(SGI_SYSCONF, 0x1d, 0x7fff2fc4, 0x7fff2fc8, 0, 0) = 1
syssgi(0x55 /* SGI_??? */, 0xfb44730, 0x7fff2ed0, 0, 0, 0) = 0
getuid()                                = 0 (euid 0)
open("/lib32/rld", O_RDONLY)            = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
syssgi(SGI_ELFMAP, 0x4, 0x7fff2d64, 0x2, 0x20008, 0x1) = 263585792
close(4)                                = 0
sysmp(0x420, 0xe, 0x7fff2f54, 0x7fff2f6c, 0) = 16384
open("/dev/zero", O_RDONLY)             = 4
mmap(0xfbe0000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE, 0, 0) = 0xfbe0000
close(4)                                = 0
syssgi(0x5c /* SGI_??? */, 0, 0x3d, 0, 0, 0x7fff2fc4) = 0
sysinfo(0x6d /* SI_??? */, "R10000 2.6", 257) = 11
open("/usr/local/net-snmp/lib/libnetsnmpmibs.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
syssgi(SGI_ELFMAP, 0x4, 0x7fff0f70, 0x2, 0x52f58, 0x52f58) = 4194304
close(4)                                = 0
open("/usr/local/net-snmp/lib/libnetsnmpagent.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
syssgi(SGI_ELFMAP, 0x4, 0x7fff0f70, 0x2, 0x3c358, 0x3c358) = 4816896
close(4)                                = 0
open("/usr/local/net-snmp/lib/libnetsnmphelpers.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
syssgi(SGI_ELFMAP, 0x4, 0x7fff0f70, 0x2, 0x1caa8, 0x1caa8) = 67108864
close(4)                                = 0
open("/usr/local/net-snmp/lib/libnetsnmp.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
syssgi(SGI_ELFMAP, 0x4, 0x7fff0f70, 0x2, 0x99fe8, 0x99fe8) = 67272704
close(4)                                = 0
open("/usr/local/net-snmp/lib/libdl.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib32/libdl.so", O_RDONLY)   = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
syssgi(SGI_ELFMAP, 0x4, 0x7fff0f70, 0x2, 0x1000, 0x1000) = 261357568
close(4)                                = 0
open("/usr/local/net-snmp/lib/libcrypto.so.0.9.7", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib32/libcrypto.so.0.9.7", O_RDONLY) = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
syssgi(SGI_ELFMAP, 0x4, 0x7fff0f70, 0x2, 0xec000, 0xec000) = 11927552
close(4)                                = 0
open("/usr/local/net-snmp/lib/libm.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib32/libm.so", O_RDONLY)    = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
syssgi(SGI_ELFMAP, 0x4, 0x7fff0f70, 0x2, 0x639cc, 0x639cc) = 14483456
close(4)                                = 0
open("/usr/local/net-snmp/lib/libadm.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib32/libadm.so", O_RDONLY)  = 4
read(4, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
syssgi(SGI_ELFMAP, 0x4, 0x7fff0f70, 0x2, 0x15000, 0x15000) = 261554176
close(4)                                = 0
open("/usr/local/net-snmp/lib/libc.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
syssgi(SGI_TOSSTSAVE, 0xfbe3070, 0xfbe1030, 0xfbdb190, 0, 0x5) = 0
syssgi(SGI_USE_FP_BCOPY, 0, 0x3f9, 0xffffffff, 0, 0x3f9) = 0
sysmp(0x420, 0xe, 0x7fff301e, 0x7fff301b, 0) = 16384
brk(0x1001c000)                         = 0
open("/usr/adm/snmpd.log", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
BSD_getime(0x4de068)                    = 0
open("/dev/kmem", O_RDONLY)             = 5
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
open("/dev/mem", O_RDONLY)              = 6
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
pipe([7, 8])                            = 7
BSD_getime(0x7fff2808)                  = 0
xstat(2, "/etc/services", {st_mode=S_IFSOCK|020400725, st_size=0, ...}) = 0
open("/var/ns/cache/services", O_RDONLY) = 9
fxstat(2, 9, {st_mode=0140000625, st_size=0, ...}) = 0
mmap(0, 65536, PROT_READ, MAP_SHARED, 0, 0xfb5be54) = 0x40f8000
close(9)                                = 0
time()                                  = 1112955219
pipe([9, 10])                           = 9
brk(0x10020000)                         = 0
utssys(0x7fff1cb0, 0x1, 0)              = 1
gethostname("vampy.think", 256)         = 0
BSD_getime(0x45f850)                    = 0
brk(0x10024000)                         = 0
brk(0x10028000)                         = 0
BSD_getime(0x1001e704)                  = 0
BSD_getime(0x45f850)                    = 0
brk(0x1002c000)                         = 0
brk(0x10030000)                         = 0
brk(0x10034000)                         = 0
open("/unix", O_RDONLY)                 = 11
read(11, "\177ELF\2\2\1\0\0\0\0\0\0\0\0\0", 16) = 16
lseek(11, 0, SEEK_SET)                  = 0
close(11)                               = 0
syssgi(0x5c /* SGI_??? */, 0x1, 0, 0x2f, 0, 0x118) = 0
xstat(2, "/usr/lib/locale/C/LC_MESSAGES/uxsyserr", 0x7fff27b0) = -1 ENOENT (No such file or directory)
xstat(2, "/usr/lib/locale/C/Xopen/LC_MESSAGES/uxsyserr", 0x7fff27b0) = -1 ENOENT (No such file or directory)
xstat(2, "/usr/lib/locale/C/LC_MESSAGES/uxsyserr.cat", 0x7fff27b0) = -1 ENOENT (No such file or directory)
write(4, "nlist: Error 0\n", 15)        = 15
prctl(0x16 /* PR_??? */, 0, 0xfb594b0, 0x10414c, 0) = 1
_exit(1)                                = ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.