copiling error in proc

From: Ammar <ammarkh_at_hotmail.com>
Date: 3 Oct 2002 08:59:50 -0700
Message-ID: <44662fe6.0210030759.65714b91_at_posting.google.com>



[Quoted] heloo im new to proc ... im compiling the demo program under soloaris platform .. i have precompiled the sample1.c progra and it was precompiled successfullyy now im compiling the program with gcc now im getting problem compulinh the precompiled

i have used the command $gcc sample1.c
sample1.c: In function 'main'
sample1.c:233: return type of 'main' is not 'int;

undefined                   first referenced
symbol                        in file
sqlglm                        /var/tmp/ccSe160a.o
sqlcxt                        /var/tmp/ccSe160a.o
ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status Received on Thu Oct 03 2002 - 17:59:50 CEST

Original text of this message