From kde-devel Wed Oct 31 23:32:20 2001 From: Thomas Bennett Date: Wed, 31 Oct 2001 23:32:20 +0000 To: kde-devel Subject: Re: please try, netbios name lookup (*very* small program) X-MARC-Message: https://marc.info/?l=kde-devel&m=100457115008047 On Thu, 01 Nov 2001 12:23, aleXXX wrote: > On Wed 31 Oct 01 23:03, Thomas Bennett wrote: > > On Thu, 01 Nov 2001 11:18, aleXXX wrote: > > > Hi, > > > > > > please try to compile (g++ -Wall nmbname.cpp -o nmbname) the attached > > > file and try if it works. > > > > On Solaris8 usparc gcc 2.95.3 > > g++ -Wall nmbname.cpp -o nmbname -lsocket -g > > nmbname.cpp: In function `bool parse_alloc_res_rec(char *, int *, int, > > res_rec **, int)': > > nmbname.cpp:503: warning: comparison between signed and unsigned > > > > gdb nmbname > > (gdb) r 134.251.199.251 > > Starting program: /v6home/sz8lnp/tmp/nmbname 134.251.199.251 > > > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x11d20 in parse_alloc_res_rec (inbuf=, offset=, > > length=, recs=, count=) > > at nmbname.cpp:499 > > 499 (*recs)[i].ttl = RIVAL(inbuf,(*offset)+4); > > (gdb) where > > Is this a 64 bit machine ? SunOS willow 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-5_10 installed as 32 bit. -- Regards Thomas >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<