Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Problem building/compiling anything

  1. #11
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Problem building/compiling anything

    okay-
    Code:
    sudo apt-get remove ia32-libs ia32-libs-multiarch
    Then go to synaptic > search on ia32-libs > mark that for install and it "should" mark all the depends under that to resolve it.

    It's a common package that most 64bit users need to install driver & other packages... You're going to need it eventually.

    That is strange. As I installed that same ia32-lib package on 3 64bit systems within the last 4 days ago with no errors...

    I see. Can agree on the manual compile if it had problems somewhere in the package. That would triage if is an Ubuntu package problem or if the problem still exists on Broadcom source. Then it would be an upstream Broadcom problem. That is what I'd say/comment to try if I saw it on launchpad.
    Last edited by MAFoElffen; February 21st, 2013 at 01:12 AM.
    Multi-Boot= Various flavours of Windows, Linux and Unix... Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    Boot Info Script courtesy of community member meierfra

  2. #12
    Join Date
    May 2012
    Location
    South UK
    Beans
    53
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problem building/compiling anything

    Quote Originally Posted by MAFoElffen View Post
    okay-
    Code:
    sudo apt-get remove ia32-libs ia32-libs-multiarch
    Then go to synaptic > search on ia32-libs > mark that for install and it "should" mark all the depends under that to resolve it.

    It's a common package that most 64bit users need to install driver & other packages... You're going to need it eventually.

    Code:
    robawalsh@Dell-Inspiron-N5110:~$ sudo apt-get remove ia32-libs ia32-libs-multiarch
    [sudo] password for robawalsh: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package ia32-libs is not installed, so not removed
    Package ia32-libs-multiarch:i386 is not installed, so not removed
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    robawalsh@Dell-Inspiron-N5110:~$
    And in Synaptic, I marked ia32-libs to install, it found the dependencies, I clicked Install but it gave me:

    The following packages have unresolvable dependencies. Make sure that all required repositories are added and enabled in the 'Repositories' option under 'Settings'.
    ia32-libs:
    Depends: ia32-libs-multiarch


    ...which they are.


    Also, I have virtualgl-libs-ia32:i386 installed - I'm not sure what it is - should I remove it or do I need it?

  3. #13
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Problem building/compiling anything

    Multi-Boot= Various flavours of Windows, Linux and Unix... Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    Boot Info Script courtesy of community member meierfra

  4. #14
    Join Date
    May 2012
    Location
    South UK
    Beans
    53
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problem building/compiling anything

    Quote Originally Posted by MAFoElffen View Post
    Yeah, I saw that, that didn't work.

    And any modprobe command gives me:

    FATAL: Error inserting wl (/lib/modules/3.2.0-38-generic/updates/dkms/wl.ko): Invalid argument

  5. #15
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Problem building/compiling anything

    Quote Originally Posted by robawalsh View Post
    Also, I have virtualgl-libs-ia32:i386 installed - I'm not sure what it is - should I remove it or do I need it?
    Do you have wine installed? Seems that package conflicted with a lot of other packages. (Edit- I have wine installed on this 64bit box and I don't have that package installed/works fine.)

    Might try to remove virtualgl-libs-ia32:i386, to try to install ia32-libs again... Then add it back in(? reaching/guess on that) or try:
    Code:
    sudo dpkg --add-architecture i386
    which was a launchpad fix for that when this same exact thing happened about six months ago... when this last happened... when Precise was still in the dev testing cycle.

    EDT-- I also see virtualgl-libs-ia32:i386 as a depends on bumblebee multi-GPU switching support.
    Last edited by MAFoElffen; February 21st, 2013 at 01:47 AM.
    Multi-Boot= Various flavours of Windows, Linux and Unix... Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    Boot Info Script courtesy of community member meierfra

  6. #16
    Join Date
    May 2012
    Location
    South UK
    Beans
    53
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problem building/compiling anything

    Quote Originally Posted by MAFoElffen View Post
    Do you have wine installed? Seems that package conflicted with a lot of other packages.

    Might try to remove virtualgl-libs-ia32, to try to install ia32-libs again... Then add it back in(? reaching/guess on that) or try:
    Code:
    sudo dpkg --add-architecture i386
    which was a launchpad fix for that when this same exact thing happened about six months ago... when this last happened... when Precise was still in the dev testing cycle.
    I removed virtualgl-libs-ia32 and tried to install ia32-libs again and got the same error..

    And the second suggestion:
    Code:
    robawalsh@Dell-Inspiron-N5110:~$ sudo dpkg --add-architecture i386
    [sudo] password for robawalsh: 
    dpkg: error: unknown option --add-architecture
    The command is wrong?

  7. #17
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Problem building/compiling anything

    Sorry, method for adding an architecture changed with release versions:
    Code:
    Sudo echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/architectures
    Confirmed that that is how mine is setup.
    Multi-Boot= Various flavours of Windows, Linux and Unix... Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    Boot Info Script courtesy of community member meierfra

  8. #18
    Join Date
    May 2012
    Location
    South UK
    Beans
    53
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problem building/compiling anything

    Quote Originally Posted by MAFoElffen View Post
    Sorry, method for adding an architecture changed with release versions:
    Code:
    Sudo echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/architectures
    Confirmed that that is how mine is setup.
    /etc/dpkg/dpkg.cfg.d/architectures didn't exist, so it looks like it created it, but
    /etc/dpkg/dpkg.cfg.d/multiarch did exist, containing the single line: foreign-architecture i386

    sudo modprobe wl is still giving:

    Code:
    robawalsh@Dell-Inspiron-N5110:~$ sudo modprobe wl
    [sudo] password for robawalsh: 
    FATAL: Error inserting wl (/lib/modules/3.2.0-38-generic/updates/dkms/wl.ko): Invalid argument
    Trying to compile a driver is still giving me the error(s):

    Code:
    /home/robawalsh/git/linux-next/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:4201:2: warning: statement with no effect [-Wunused-value]
    cc1: some warnings being treated as errors
    make[3]: *** [/home/robawalsh/git/linux-next/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.o] Error 1
    make[2]: *** [/home/robawalsh/git/linux-next/drivers/net/wireless/brcm80211/brcmfmac] Error 2
    make[1]: *** [_module_/home/robawalsh/git/linux-next/drivers/net/wireless/brcm80211] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-38-generic'
    make: *** [default] Error 2
    What do I do next?
    Last edited by robawalsh; February 21st, 2013 at 02:08 PM.

  9. #19
    Join Date
    May 2012
    Location
    South UK
    Beans
    53
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problem building/compiling anything

    I don't know how relevant this is, but I tried this and got an error:

    Code:
    robawalsh@Dell-Inspiron-N5110:/usr/src/linux-headers-3.2.0-38-generic$ sudo make oldconfig && make prepare
    [sudo] password for robawalsh: 
      HOSTCC  scripts/basic/fixdep
      HOSTCC  scripts/kconfig/conf.o
      HOSTCC  scripts/kconfig/zconf.tab.o
      HOSTLD  scripts/kconfig/conf
    scripts/kconfig/conf --oldconfig Kconfig
    #
    # configuration written to .config
    #
    scripts/kconfig/conf --silentoldconfig Kconfig
    
    *** Error during update of the configuration.
    
    make[2]: *** [silentoldconfig] Error 1
    make[1]: *** [silentoldconfig] Error 2
    make[1]: *** No rule to make target `arch/x86/tools/relocs.c', needed by `arch/x86/tools/relocs'. Stop.
    make: *** [archscripts] Error 2
    robawalsh@Dell-Inspiron-N5110:/usr/src/linux-headers-3.2.0-38-generic$

  10. #20
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Problem building/compiling anything

    Wait one... What?

    I just went to Broadcom to read their readme notes on the latest driver and it is precompiled and has make/build instructions for Ubuntu... which is a lot different from what you are trying:
    http://www.broadcom.com/docs/linux_sta/README.txt

    I'm trying to figure out what is wrong with that picture...
    Multi-Boot= Various flavours of Windows, Linux and Unix... Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    Boot Info Script courtesy of community member meierfra

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •