diab ld error

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
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

Re: diab ld error
# 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)

Re: diab ld error

Quoted text here. Click to load it

"Defaults" to halt on errors, it doesn't have to.
 
Quoted text here. Click to load it

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 ->
--

Site Timeline