[parisc-linux] linking

FARINATI,LEANDRO (HP-Brazil,ex1) leandro.farinati@hp.com
Fri, 6 Dec 2002 12:56:41 -0500


Hi people,

	I'm tryng link some object files (c and asm files already compiled)
and I got an error. 
	Could someone help-me to solve it?

	The main function is in main.c(main.o)
	Command Line:  gcc -o exec main.o asm.o .file1.o file2.o
	Error:
		/usr/lib/gcc-lib/hppa-linux/3.0.4/../../../crt1.o: In
function `_start':
	
/usr/lib/gcc-lib/hppa-linux/3.0.4/../../../crt1.o(.text+0x0): undefined
reference to `main'
	
/usr/lib/gcc-lib/hppa-linux/3.0.4/../../../crt1.o(.text+0x4): undefined
reference to `main'
		collect2: ld returned 1 exit status

Thanks in advance,

-----------------------------------------------------------------------
              Leandro Marcondes Farinati
                    Software Developer

*   leandro.farinati@hp.com