ld: cannot open crt1.o: No such file or directory
I'm having a few problems compiling an application. This is the error message i get in the config.log file.
ld: cannot open crt1.o: No such file or directory From what i have gathered, i am not going to be able to compile anything without this file being present. I have checked in the /usr/lib directory and the file is not present. The system is a version of FreeBSD that is automatically installed onto the box through the Checkpoint FW1 CD, so i do not have an installation source. Can somebody please direct me to a source of this file, as i really need to get this app to compile, in order to get BGP working on the box. Cheers, Peter |
well, which application are you trying to compile?
a .o file is an object file, and should be in this applications source directory, not in /usr/lib. .so files are libraries. |
I'm trying to compile an application called Zebra. It’s essentially a program that provides the box with BGP & OSPF networking functionality.
http://www.zebra.org |
#cd /usr/ports/net/zebra
#make install clean |
crt1.0 ? sure it's not crt0.o?
crt0.o is part of the standard C library, and should be there if you installed a c compiler. Identical copies of crt0.o can usually be found in either /usr/ccs/lib/crt0.o or /opt/langtools/lib/crt0.o. Check for the presence of the file, then if it exists, check that your path can find the file. |
All times are GMT -5. The time now is 03:25 PM. |