Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!mtecv2!cca!news From: news@cca.PUE.UDLAP.MX Newsgroups: comp.lang.c Subject: Oracle and C code problem Message-ID: <1990Dec5.153358.7720@cca.PUE.UDLAP.MX> Date: 5 Dec 90 15:33:58 GMT Sender: news@cca.PUE.UDLAP.MX Organization: University_of_the_Americas_Puebla_Mexico Lines: 27 Hi ! I have this problem: I'm using SunOS 4.1 and its /usr/5bin/cc compiler. I have an oracle xxx.pc program and inside the program I have this code: printf("%s\n ",uid.arr); EXEC SQL WHENEVER SQLERROR GOTO errexit; printf("%s\n","ya ya"); EXEC SQL CONNECT :uid IDENTIFIED BY :pwd; printf("Lista: %d", sizeof(struct list)); printf("Arbol: %d", sizeof(struct tree)); The problem is that when I compile the program in a SparcStation 1 the executable runs ok in a SparcServer390, but in the SparcStation it does not !!! I get a message like "Illegal Instruction (core dumped) ". Is there anybody with some insight for me? Any help will be appreciated .... ----------------------------------------------------- Sergio Picazo internet tesis@cca.pue.udlap.mx ---------------------------------------------------- Brought to you by Super Global Mega Corp .com