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]-%