linux-um archives
 help / color / mirror / Atom feed
From: Jason Johnson <jsjohn2000@yahoo.com>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: jsjohn2000@yahoo.com
Subject: [uml-devel] Problems with linking of 2.4.19-5um (elf-init.o symbols missing during final link)
Date: Sat, 6 Sep 2003 07:32:30 -0700 (PDT)	[thread overview]
Message-ID: <20030906143230.47744.qmail@web41607.mail.yahoo.com> (raw)

I have been experimenting with user mode linux and
when I tried compiling against the 2.4.19 kernel I
received the following link error

gcc -Wl,-T,arch/um/link.ld  -Wl,--wrap,malloc
-Wl,--wrap,free -Wl,--wrap,calloc \
        -o linux -static arch/um/main.o vmlinux.o
-L/usr/lib -lutil
/usr/lib/libc.a(elf-init.o)(.text+0x2): In function
`__libc_csu_init':
: undefined reference to `__preinit_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x9): In function
`__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x23): In function
`__libc_csu_init':
: undefined reference to `__preinit_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x34): In function
`__libc_csu_init':
: undefined reference to `__init_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x39): In function
`__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x49): In function
`__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x61): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_end'
/usr/lib/libc.a(elf-init.o)(.text+0x67): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_start'
/usr/lib/libc.a(elf-init.o)(.text+0x84): In function
`__libc_csu_fini':
: undefined reference to `__fini_array_start'
collect2: ld returned 1 exit status
make: *** [linux] Error 1

I applied the 2.4.19-5um patch to my kernel source
tree.  Does anyone have any ideas on how to fix this
problem.

I tried compiling a new version of glibc, but the when
I did a objdump -t libc.a symbols mentioned above do
not appear.

Thanks for the help.


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

             reply	other threads:[~2003-09-06 14:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-06 14:32 Jason Johnson [this message]
2003-09-13 18:08 ` [uml-devel] Problems with linking of 2.4.19-5um (elf-init.o symbols missing during final link) BlaisorBlade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030906143230.47744.qmail@web41607.mail.yahoo.com \
    --to=jsjohn2000@yahoo.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox