nv-l
[Top] [All Lists]

RE: NetView development help

To: nv-l@lists.tivoli.com
Subject: RE: NetView development help
From: Bob Nashus <bobnashus@yahoo.com>
Date: Fri, 10 Aug 2001 09:01:21 -0700 (PDT)
Boy, did we get off topic here...I'd also recommend
the K&R (Kernighan & Ritchie - The C Programming
Language).

So, besides book recommendations for Dean, anyone have
any ideas about my problem? Or am I S.O.L?

--- Jennifer Parker <jparker@us.tivoli.com> wrote:
> My recommendation would have to Dennis Ritchie's The
> C Programming 
> Language.  I mean, after all, he wrote the language,
> what better book to 
> read?
> 
> Regards,
> Jennifer Parker
> NetView for UNIX/NT Level 2 Software Engineer 
>
***********************************************************************
> Plan Your Migration NOW!  End of Support Dates are:
> NetView  V5.0    -  May 9, 2001
> NetView  V5.1.x  -  Jan 2, 2002
>
***********************************************************************
> Need help with Tivoli Software Products? 
>                           Ask Tivoli! 
>           http://www.tivoli.com/asktivoli
> 
> 
> 
> 
> Dean Sullinger <DSullinger@dot.state.az.us>
> Sent by: owner-nv-l@tkg.com
> 08/09/2001 08:36 AM
> Please respond to IBM NetView Discussion
> 
>  
>         To:     "'IBM NetView Discussion'"
> <nv-l@tkg.com>
>         cc: 
>         Subject:        RE: [NV-L] NetView
> development help
> 
>  
> 
> One last item on this and I won't bring it up here
> again.
> 
> I am no expert on C, most of the C apps I have
> written were no longer than
> 30 or 40 lines of code and all in ANSI C.  Does
> anyone have a suggestion 
> on
> a good C book... Not C++, but just C, especially if
> it center on Solaris.
> Most books I have checked into are for Microsoft C++
> or just plain C++, it
> seams to be hard to find a book center on just C.
> 
> Thanks
> 
> Dean
> 
> 
> -----Original Message-----
> From: James Shanks [mailto:SHANKS@us.tivoli.com] 
> Sent: Wednesday, August 08, 2001 3:35 PM
> To: IBM NetView Discussion
> Subject: RE: [NV-L] NetView development help
> 
> 
> Not sure I can help Bob, but perhaps I can help
> Dean.  Solaris is very 
> picky
> about string operations. Basically you have to check
> each string and make
> sure it is not null or that you are not using a null
> pointer or it will
> core. For the port to Solaris from AIX, NetView
> development had to replace
> all the standard string operations with ones that
> checked the length and
> pointers first.
> 
> Hope this helps
> 
> James Shanks
> Level 3 Support
> Tivoli NetView for UNIX and NT
> 
> 
> Please note that my id has changed.
> If you need to reply, send to shanks@us.tivoli.com
> when outside of IBM/Tivoli  or  to
> James Shanks/Raleigh/IBM@IBMUS when inside.
> 
> 
> Dean Sullinger <DSullinger@dot.state.az.us>@tkg.com
> on 08/08/2001 05:21:47
> PM
> 
> Please respond to IBM NetView Discussion
> <nv-l@tkg.com>
> 
> Sent by:  owner-nv-l@tkg.com
> 
> 
> To:   "'IBM NetView Discussion'" <nv-l@tkg.com>
> cc:
> Subject:  RE: [NV-L] NetView development help
> 
> 
> 
> LOL!!!
> 
> Sorry Bob, but I have been working on a small app to
> convert a 32-bit
> decimal word to an IP address for over a week.  I
> blew the thing together
> under Windows, but as I am working on it under
> Solaris, I am having all
> kinds of problems with basic commands that should
> work (strcat, strcpy), I
> keep getting a Coredump... I wonder if this only
> happens with gcc and not
> the Sun's C for Solaris.
> 
> (sorry this is off topic)
> 
> Dean
> 
> 
> -----Original Message-----
> From: Bob Nashus [mailto:bobnashus@yahoo.com]
> Sent: Wednesday, August 08, 2001 2:11 PM
> To: nv-l@tkg.com
> Subject: [NV-L] NetView development help
> 
> 
> Help!
> 
> I've written a C++ app that integrates with NetView
> 5.1 under AIX and Solaris. When I build (with gcc)
> and
> run in on AIX 4.2.x, no problems. When I build on
> Solaris 2.5.1 w/ gcc-2.95.1, I have problems (I've
> also tried on 2.8 w/ gcc-2.95.3 and I get the same
> errors).
> 
> Specifically, I get several warnings during the link
> phase. I usually don't worry about warnings,
> however,
> the app does not work as expected when I run it (it
> does however work just fine under AIX).
> 
> Here are the details:
> 
> I compile and link with:
> 
> "c++ -DNDEBUG -D_REENTRANT -fpermissive -g -I.
> I../usr/OV/include
> -L../usr/OV/lib -L/usr/openwin/lib -L/usr/ucblib
> -R/usr/OV/lib 
> MyProgram.cpp
> -lovsnmp -lovw -lov -lnsl -ldl -lkstat -lw -lposix4
> -lpthread"
> 
> Here's an example of the warnings I get:
> 
> "ld: warning: symbol `bad_exception virtual table'
> has differing sizes:
> (file ../usr/OV/lib/libovw.so value=0x18; file
> /usr/local/lib/gcc-lib/sparc-sun-
> solaris2.5.1/2.95.1/libgcc.a(exception.o)
> value=0x20);
> /usr/local/lib/gcc-lib/sparc-sun-
> solaris2.5.1/2.95.1/libgcc.a(exception.o)
> definition taken"
> 
> One other thing: I only get these errors when I use
> STL containers such as map or list.
> 
> I know this question is in a gray area between being
> a
> NetView or gcc question, but I've already posted to
> the gcc newsgroup with no responses and I'm getting
> desparate.
> 
> If anyone out there has an idea on how I can resolve
> this, I would greatly appreciate it.
> 
> TIA,
> 
> Bob
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
_________________________________________________________________________
> NV-L List information and Archives:
> http://www.tkg.com/nv-l
>
_________________________________________________________________________
> NV-L List information and Archives:
> http://www.tkg.com/nv-l
> 
> 
>
_________________________________________________________________________
> NV-L List information and Archives:
> http://www.tkg.com/nv-l
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web