Author Topic: C coding... help.. help me!! please *sniffle*  (Read 3860 times)

tulkk

  • *
  • Posts: 52
    • View Profile
C coding... help.. help me!! please *sniffle*
« on: 2001-06-23 07:39:00 »
Hi

I need sum help and fast, heh  :)
Maybe a bit offtopic but..

I'm programing C using a GCC..
but when i compile it states
"predefinition and predeclaration, conflicting types" etc.

i've include these files




and i'm 100% that they all should be included.. but it seem that liboga.h defines strings that then get's defined in the other includes.. but they should be there.. i'm sure! besides.. the definitions are not the same in liboga.h and the others..

hmm... kinda hard to put this to words.. but i hope u know what i mean.. *smiles*

Thnx


The SaiNt

  • *
  • Posts: 1300
    • View Profile
C coding... help.. help me!! please *sniffle*
« Reply #1 on: 2001-06-23 17:56:00 »
Hmmm..
Not too sure about that since I'm not sure what the header file liboga.h contains. I don't have it in my Visual C++

Is this header your own file?
If it is, it looks unlikely anyone can help you unless you post the source of this header file.


tulkk

  • *
  • Posts: 52
    • View Profile
C coding... help.. help me!! please *sniffle*
« Reply #2 on: 2001-06-23 22:04:00 »
well.. actually i just used the file as an example..
the real name is libps.h and it's part of he mipsgcc for PSX

but that's shouldn't be the issue.. since every lib has a lib.h and the files "file.h" and "memory.h" is neccessery files that the psx needs to operate...

i just thought it had sumthin to do with paths or mebe compiler options...


The SaiNt

  • *
  • Posts: 1300
    • View Profile
C coding... help.. help me!! please *sniffle*
« Reply #3 on: 2001-06-23 22:13:00 »
I doubt it is a compiler error or option.
It's gotta do with your library file having conflicting variables or functions?

tulkk

  • *
  • Posts: 52
    • View Profile
C coding... help.. help me!! please *sniffle*
« Reply #4 on: 2001-06-23 23:54:00 »
heh, i figured it out... i used the psyq libs.. instead of the ones to use with mipsgcc.. hehe.. hmm.. but were the 'ell did i put the mipsgcc libs?!?! heh, can't find my old psxdev cd... damn...