Can someone explain this error

On Monday checking for gcc... gcc
checking whether the C compiler works... configure: error: cannot run C 
compiled programs.
If you meant to cross compile, use `--host'.

11 June 2001 02:32 am, sitting  behind your screen smiling you wrote:
> Kent Nguyen <[EMAIL PROTECTED]> writes:
> > I recieved a bunch of undefined reference, attach below, when I try to
> > compile this program.  Can someone with rpm knowledge help me compile
> > this little program, thanks!
>
> [...]
>
> > [kent@localhost kent]$ gcc -o showdb -I/usr/include -I/usr/lib/qt2 -lrpm
>
> (chmou@giants)[/tmp]-% make showdb LDFLAGS="-lrpm -lrpmio -lpopt"
> cc   -lrpm -lrpmio -lpopt  showdb.c   -o showdb
> showdb.c: In function `main':
> showdb.c:11: warning: return type of `main' is not `int'
> (chmou@giants)[/tmp]-% ./showdb
> showdb2 <search term>
> (chmou@giants)[/tmp]-%

Reply via email to