Problem compiling the kernel and linking problems in OpenSuse 12.3 | Unix Linux Forums | SuSE

  Go Back    


SuSE SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc.

Problem compiling the kernel and linking problems in OpenSuse 12.3

SuSE


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-10-2013
bacesado bacesado is offline
Registered User
 
Join Date: Aug 2013
Last Activity: 11 September 2013, 8:14 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Problem compiling the kernel and linking problems in OpenSuse 12.3

Hi everyone I installed OpenSuse 12.3 and many development tools but when i propose build the kernel from the source (the first step make menuconfig) i saw this:



Code:
  
HOSTLD  scripts/kconfig/mconf
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: warning: libdl.so.2, needed by /lib64/libncursesw.so.5, not found (try using -rpath or -rpath-link)
/lib64/libncursesw.so.5: undefined reference to `dlopen@GLIBC_2.2.5'
/lib64/libncursesw.so.5: undefined reference to `dlclose@GLIBC_2.2.5'
/lib64/libncursesw.so.5: undefined reference to `dlsym@GLIBC_2.2.5'
collect2: error: ld devolvió el estado de salida 1
make[1]: *** [scripts/kconfig/mconf] Error 1
make: *** [menuconfig] Error 2



And I had similar errors with make xconfig.

I have the libdl.so.2 file

# locate libdl.so.2
/lib64/libdl.so.2
/lib/libdl.so.2
#

Look online but no solution worked for me. Simply not very well to do. And I really need to compile the kernel.

Anyone know how to fix it?

Bye!
Sponsored Links
    #2  
Old 09-10-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 19 December 2014, 8:26 PM EST
Location: Saskatchewan
Posts: 20,037
Thanks: 855
Thanked 3,457 Times in 3,229 Posts
You are missing some fundamental libraries. Try installing libgcc using your distribution's normal package manager.
Sponsored Links
    #3  
Old 09-10-2013
bacesado bacesado is offline
Registered User
 
Join Date: Aug 2013
Last Activity: 11 September 2013, 8:14 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Not, it isnt the problem , 'cause i installed all the c/c++ libraries and else. Moreover i have the files ... i cannot understand why ld is not linking...

Thank you & Bye!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compiling and linking Shared Libraries. junaid.nehvi Programming 3 08-30-2010 03:19 PM
problem when compiling and installing the kernel jalil smail UNIX for Advanced & Expert Users 1 04-16-2008 12:56 PM
beginner at C: Need help compiling/linking with gcc My_Name Programming 1 03-06-2005 12:23 PM
Linking problem while linking to shared library laho Programming 6 03-16-2004 10:01 AM
compiling and linking 2 C files ...?? abdul Programming 4 10-02-2001 11:23 AM



All times are GMT -4. The time now is 09:52 PM.