diab ld error

hello,

Compiling on powerpc, Any clue why dld barfs with "dld: warning: Undefined symbol xyz and then dld: no output written" and then make halts with an error? shouldnt the warnings be ignored and make continue as there weren't errors ? regards curious

Reply to
curious_one
Loading thread data ...

In comp.os.psos curious_one wrote: # hello, # # Compiling on powerpc, Any clue why dld barfs with "dld: warning: # Undefined symbol xyz and then dld: no output written"

Because some code calls xyz but the linker can not find any object file or library that defines xyz.

# and then make # halts with an error?

Because make is designed to halt on errors.

# shouldn't the warnings be ignored and make

No.

# continue as there weren't errors?

The purpose of make is to stop at the first error. Fix your build by providing whatever file has xyz at link time.

Regards,

Jens

--
Jens Schweikhardt  http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
Reply to
Jens Schweikhardt

Jens Schweikhardt wrote in news:bvqmtm$8oj$ snipped-for-privacy@newsfeed.pit.comms.marconi.com:

"Defaults" to halt on errors, it doesn't have to.

True, but you can tell make to continue on errors. However, attempting to continue on link failure doesn't seem to sensible unless there are many other build targets that might complete without error.

--
- Mark ->
--
Reply to
Mark A. Odell

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.