LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   ld: cannot open crt1.o: No such file or directory (https://www.linuxquestions.org/questions/%2Absd-17/ld-cannot-open-crt1-o-no-such-file-or-directory-106747/)

PeterRanson 10-21-2003 11:07 AM

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

randomblast 10-21-2003 01:50 PM

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.

PeterRanson 10-22-2003 02:10 AM

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

Manadien 10-22-2003 12:47 PM

#cd /usr/ports/net/zebra
#make install clean

jim mcnamara 10-31-2003 11:31 AM

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.