[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: please try, netbios name lookup (*very* small program)
From:       Thomas Bennett <thomas.bennett () eds ! com>
Date:       2001-10-31 23:32:20
[Download RAW message or body]

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=<error type>, offset=<error type>,
> >     length=<error type>, recs=<error type>, count=<error type>)
> >     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 <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic