Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Problem with C compiler?
@ 1996-08-28  4:00 Scott Kramer
  1996-08-29  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1996-08-30  4:00 ` Marc Roussel
  0 siblings, 2 replies; 4+ messages in thread
From: Scott Kramer @ 1996-08-28  4:00 UTC (permalink / 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   |
+++----------------------------------------+++-----------------------+++



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-08-30  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-28  4:00 Problem with C compiler? Scott Kramer
1996-08-29  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-08-29  4:00   ` Tim Mooney
1996-08-30  4:00 ` Marc Roussel

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