User Profile

Collapse

Profile Sidebar

Collapse
nano2
nano2
Last Activity: Mar 27 '08, 11:41 AM
Joined: Jan 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nano2
    started a topic a replacement for strlcpy
    in C

    a replacement for strlcpy

    Hi all,

    I have the following scenario but strlcpy is not supported in GCC4.1 and that's the C compiler i am using .
    Does anyone know of a similar way this canbe achieved ..

    if (strlcpy(addr.s path, options.cpath,
    sizeof(addr.spa th)) >= sizeof(addr.spa th)
    See more | Go to post

  • nano2
    started a topic GCC 4.1.1 on redhat 4.5

    GCC 4.1.1 on redhat 4.5

    Hi,

    Does anyone know how Ican use inline function calls when i have optimize turned off like so -00 -ggdb so that i can have debug symbols for debugging .
    I am using gcc version 4.1.1 I have been looking on the gcc man pages and having no luck in finding the solution ...
    In order for iinline functions it needs to have -02 (optimise level switched on)

    Any one know what i could use
    See more | Go to post

  • nano2
    started a topic GNU LINKER gcc2.15 with GCC4.1.1
    in C

    GNU LINKER gcc2.15 with GCC4.1.1

    Hi all,

    I am trying to link in shared objects but when i do I get undefined symbols
    with my LDFLAGS += -L $(PLATFORM_LIBS )
    I am can overcome this by using -shared however I don't want a shared object
    Does anyone know what flag i can use so that I don't get undefined symbols with the GNU ld version 2.15.92.0.2
    Thanks
    See more | Go to post

  • Segmentation Fault produced with no core using strace to Debug

    Hi,

    Has any one used strace to investigate a process that falls over with a segmentation fault and produces no core so that I can use a debugger to investigate it.

    I can't use the starce -p <pid> coz the process doesn't come up ...

    Anyone with any ideas how I can go about debugging this process ...

    Any suggestions much appreciated !
    See more | Go to post

  • I am trying to bring up a server that is doing some Authentication using the following class implementations

    import java.security.K eyStore;
    import java.security.c ert.Certificate Exception;
    import java.security.c ert.X509Certifi cate;

    import javax.net.ssl.T rustManager;
    import javax.net.ssl.T rustManagerFact ory;
    import javax.net.ssl.X 509TrustManager ;

    it falls over on managerFactory. init(keystore);...
    See more | Go to post

    Leave a comment:


  • At runtime .... It looks like i missing the jsse.jar...
    See more | Go to post

    Leave a comment:


  • "java.security.NoSuchProviderException: no such provider: SunJSSE"

    Hi ,

    I am getting the following error when using java version 1.5
    "java.security. NoSuchProviderE xception: no such provider: SunJSSE"

    Has anyone any ideas why i am getting this error ..
    Thanksyour help much appreciated !
    See more | Go to post

  • nano2
    replied to GCC4.1.1 file name with the same directory name
    in C
    I have used hp CC compiler and Sun compiler and it works fine , Is this some fault with GNU CC do you know ?
    See more | Go to post

    Leave a comment:


  • nano2
    started a topic GCC4.1.1 file name with the same directory name
    in C

    GCC4.1.1 file name with the same directory name

    Hi all ,

    I have the following scenario where i ma trying to build a program that has the same name as the subdir and within that subdir it needs to build and link in the those objects to create the PROG .
    but GCC get all confused and complains saying that it's a directory and bombs out.

    has anyone seen this befor with GCC
    the PROG name is t
    cc -O -DNOODBC -I/home/t/cvs/FB1023/src/include -I/usr/local64/include...
    See more | Go to post

  • nano2
    replied to convert Void * to an int using GCC 4.1.1
    in C
    Thanks all ....
    Goit it sorted using this -- some comoilers threat void differently

    int delta= (long int)arg;...
    See more | Go to post

    Leave a comment:


  • nano2
    started a topic convert Void * to an int using GCC 4.1.1
    in C

    convert Void * to an int using GCC 4.1.1

    Hi ,

    I have the following where i want to take a void * and convert it to an int
    void *contending(voi d *arg)
    {
    int delta = (void *) arg;
    }

    error: invalid conversion from void* to int

    Any ideas how i can achieve this using GCC 4.1.1

    Any help much appreciated !
    See more | Go to post

  • This is the error
    [echo] Compiling acceptance test runner and utilities
    [javac] Compiling 1 source file to /home/t/cvs/F4.3.7B1023/src/acceptance/bin.ppc64
    [javac] /home/t/cvs/F4.3.7B1023/src/acceptance/java/com/openet/acceptance/converter/DumpAvsToAvsXml Gzip.java:21: package com.sun.org.apa che.xml.interna l.serialize does not exist
    [javac] import com.sun.org.apa che.xml.interna l.serialize.Out putFormat;
    ...
    See more | Go to post

    Leave a comment:


  • nano2
    started a topic com.sun.org.apache.xml.internal.serialize Jave 1.5
    in Java

    com.sun.org.apache.xml.internal.serialize Jave 1.5

    Hi all ,
    I am having a issue with importing the following
    import com.sun.org.apa che.xml.interna l.serialize.Out putFormat;
    import com.sun.org.apa che.xml.interna l.serialize.XML Serializer;
    using the following version of java
    However when i look in the jre I see it's location has changed FROM
    com.sun.org.apa che.xml.interna l.serialize
    TO
    org/apache/xml/serialize/Serializer.clas s

    Has...
    See more | Go to post

  • nano2
    replied to OPENSSL (0.9.6b)
    in C
    Do You Know how I can force it to use the crypto as i don't want to update the sytem library ...

    Thanks
    See more | Go to post

    Leave a comment:


  • nano2
    started a topic OPENSSL (0.9.6b)
    in C

    OPENSSL (0.9.6b)

    Hi ,

    I am linking openssl-0.9b.tar but it's picking up the definition in /usr/local/unistd.h
    the definition in /usr/local/unistd.h

    #ifdef __USE_XOPEN
    /* Encrypt at most 8 characters from KEY using salt to perturb DES. */
    extern char *crypt (__const char *__key, __const char *__salt)
    __THROW __nonnull ((1, 2));

    whereas in in crypto include/des.h doesn't have this __THROW...
    See more | Go to post

  • nano2
    started a topic BOURNE SHELL -Evaluating a file list

    BOURNE SHELL -Evaluating a file list

    Hi ,

    Has any one any idea how i can achieve the following where i want to check which ?.pid i am evaluating .

    What I have is - but it keeps deafulting to error message" unkown process"

    Anyone have any ideas ???

    $HOME/dir/log/axyyy.pid
    $HOME/dir/log/b.pid

    FILELIST = `find $HOME/dir/log -name "*.pid" -print`
    case $FILELIST in
    ...
    See more | Go to post

  • nano2
    started a topic Shell wild card characters

    Shell wild card characters

    Hi,
    Does anyone know how i could use wild chars like so:
    echo "-->This is ${MY_HOME}/config/log/test{*}.pid";

    The file will start like so with
    test123.pid
    test12421.pid
    testrqwrqwr.pid
    test435ytft.pid
    Does anyone know how i could achive this ????
    See more | Go to post

  • nano2
    replied to unix performance monitoring script
    Will this work for hp and solaris ???...
    See more | Go to post

    Leave a comment:


  • Find memory leaks using the unix commands within a script ???

    Hi ,

    I want to script that can detect memory leaks form local applications on hp and sun.
    I know there are gui tools that can do that ...
    But I want to use ps or pmap within my script to catch a memory leak ...
    the size of application memory will obviously be increasing so thats how i will detect the memory leak..

    But if i dump out the the info from the top command and check the pid process.
    ...
    See more | Go to post

  • nano2
    replied to Creating an object in C++
    in C
    Can you have a look at this implementation please as I feel there is a better approach to this implementation:

    thanks

    class classificationS et
    {
    public:
    ClassifictaionS et( int startDateTime = 4712548, int endDateTime=124 556, char * classBandType = NULL)
    : m_classBandSet( NULL)

    {
    }
    ~classification Set()
    {
    delete...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...