Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Scott Kramer <ZSAKSAK@AACCI.AACC.CC.MD.US>
Subject: Problem with C compiler?
Date: 1996/08/28	[thread overview]
Message-ID: <28AUG96.13550198.0011@AACCI.AACC.CC.MD.US> (raw)


greetings,

   I am converting some programs from my old s5v4 system to my
alphaserver 400.  I am not able to compile the same source code on
the alpha.  I keep getting a segmentation fault when using the time()
function.  I have looked at the cc documentation over and over and
can see no reason why this will not work.  I moved this source to my
AIX 3.2.5 system and It compiled and worked fine.  I am at a loss.
Please forgive me if this is a simple question, but it is annoying.

long *tloc;
time(tloc);

Other functions such as srand seem to have a problem with the pointer
tloc?

Any thoughts are Appreciated!

Scott Kramer


+++----------------------------------------+++-----------------------+++
| SCOTT A. KRAMER  SYSTEMS PROGRAMMER      | Email Address: ZSAKSAK@   |
| Anne Arundel Community College           | AACCI.AACC.CC.MD.US       |
| 101 College Parkway                      |                           |
| Arnold Md 21012                          | Telephone  410-541-2800   |
|------------------------------------------|---------------------------|
|  VM/ESA 2.2 ESA MODE - VSE/ESA 1.3.6     | MUSIC/SP 4.1 - CICS 2.2   |
+++----------------------------------------+++-----------------------+++



             reply	other threads:[~1996-08-28  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-28  4:00 Scott Kramer [this message]
1996-08-29  4:00 ` Problem with C compiler? Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-08-29  4:00   ` Tim Mooney
1996-08-30  4:00 ` Marc Roussel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox