Hello,

I am using an SMP machine as a work station, but this question really is
not SMP centric.  However, any help in resolving this problem would be
greatly appreciated.

I get this error message when I compile the code segment listed below:

        /tmp/ccj65yWX.o (.text+0xb): undefined reference to '_strtime'

the code follows:

        #include <stdio.h>
        #include <time.h>


int main ( void ) {

        char timebuf[9];

        _strtime ( timebuf );
        printf ("Time: s% \n", timebuf );
        return;
}

the compiler I'm using is:

        gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
        Slackware 7 kernel version 2.2.13

I'm pulling my hair out over what should be an obvious fix.  Thanks

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to