Re: [Cooker] gcc 2.96 problem?

2001-06-11 Thread Kent Nguyen

Thanks Chmouel!
You're the best.

--kent

On Monday 11 June 2001 06:32, 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]-%




Re: [Cooker] gcc 2.96 problem?

2001-06-11 Thread Andrej Borsenkow

Salane King wrote:

 I realize some of the people in this list don't have time for beginning or 
 non programers, but this is a bug report. I just asked if someone could 
 explain it or determine if it is a bug or just my computer. I think it it a 
 bug now.
 
  I have 
  rpm -q glibc-devel
 glibc-devel-2.2.3-2mdk
 and 
 rpm -q glibc
 glibc-2.2.3-2mdk
 
 It is kind of hard to bug report sometimes not knowing just what language to 
 report bugs in.


Umm ... you are aware about config.log, are not you? If configure says 
cannot create executables it is the first place to look.

-andrej





Re: [Cooker] gcc 2.96 problem?

2001-06-11 Thread Chmouel Boudjnah

Salane King [EMAIL PROTECTED] writes:

 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'.


urpmi glibc-devel

this list is not intended to help beginner programmer...




Re: [Cooker] gcc 2.96 problem?

2001-06-11 Thread Salane King

I realize some of the people in this list don't have time for beginning or 
non programers, but this is a bug report. I just asked if someone could 
explain it or determine if it is a bug or just my computer. I think it it a 
bug now.

 I have 
 rpm -q glibc-devel
glibc-devel-2.2.3-2mdk
and 
rpm -q glibc
glibc-2.2.3-2mdk

It is kind of hard to bug report sometimes not knowing just what language to 
report bugs in. I am just trying to compile a program while using cooker. If 
something is broken then it needs to be reported beginning programmer or not.
I realize that sometimes it breaks and that is why I use it, to help out the 
community and I am usually patient with it, because it is the best OS out 
there despite the bugs. 

Salane King


On Monday 11 June 2001 06:26 am, sitting behind your screen smiling you wrote:
 Salane King [EMAIL PROTECTED] writes:
  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'.

 urpmi glibc-devel

 this list is not intended to help beginner programmer...