if you have compressed file which has multiple source files,
after make of this source file, you are getting undefined
reference error. How your will debug this problem ? What
might be different root causes for this ?



if you have compressed file which has multiple source files, after make of this source file, you ar..

Answer / Dinesh Kumar Singh

Getting an undefined reference error after compiling a project with compressed files can be due to several reasons:

1. Missing or incorrect file paths: Ensure that all the required source files are included in the project, and their paths are correctly specified in the project settings.
2. Incorrect file formats: Verify that the source files have the correct format (e.g., .cpp for C++ projects) and are not corrupted.
3. Library dependencies: Check if there are any library dependencies missing or incorrectly linked with your project, which could lead to undefined reference errors.
4. Compilation order issues: Ensure that the source files are being compiled in the correct order to avoid missing references.
5. Corrupted build environment: A corrupted build environment can also cause undefined reference errors. Try reinstalling any development tools or restarting your computer to resolve this issue.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Debugging AllOther Interview Questions

Can some one help me with the QTP 9.0 single seat license. pls send it to sandeepkumarsingh@hotmail.com

1 Answers  


How to reboot the (crashed) box via remote gdb? How?

1 Answers   IBM,


if you have compressed file which has multiple source files, after make of this source file, you are getting undefined reference error. How your will debug this problem ? What might be different root causes for this ?

1 Answers   Cavium Networks,


How does a debugger set breakpoints in a code you are debugging?

1 Answers   Tech Mahindra,


What is debugger?

1 Answers   TCS,


Hey, I am new as a sap abaper, i just want to know, i created 1 zprogram and i execute it in development system its works properly , in quality system is also works properly, but when i run in background it dumped, how to handle this prob.can anyone guide me plzz??

1 Answers   IBM,


Please tell me Browser specific bugs?

1 Answers   Wipro,


Why to use a debugger? Isn't printf/cout/System.out.println good enough?

1 Answers   Infosys, TCS,


how to debug stored procedure?

1 Answers   EDS,


What is objdump & nm ?

0 Answers   Cavium Networks, IBM,


What is a "debugger" ?

2 Answers  


What do mean by debugger?

1 Answers   TCS,


Categories