Compilation problem [closed]
- by Misery
I am trying to compile a program called Triangle Mesh Generator. It is an open source code written in ANSI C. I need it to bo a callable lib so I am using a switch (#define) created by it's Author. However I get this error:
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In function `_start':
collect2: ld returned 1 exit status
make: *** [triangle] Error 1
I am not sure why such an error occurs. Worth adding is that compiling it as a stand alone program is succesful. I am using GCC on 12.04.
The lines quoted above constitute the total output. What I put in the terminal is just
make
in the proper folder. There are no other errors, warnings, or other messages.
Link to the sources
I found some additional instructions. I'll get back after reading them :]
EDIT:
I have found some additional instructions that let me compile it.
Thanks for help. I am closing question right now.
Regards