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 ? Alex >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<