You are not logged in.

#1 2015-01-25 06:24:44

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

[SOLVED] error compiling from source Broadcom BCM70015 driver

Hi,
This is my first post.
I have one HP Thin Client T5740 with Intel Atom 1.66 MHz, 1Gb RAM and Broadcom BCM70015 decoder card installed on it.
I have install the last version of archlinux on T5740 and this working very well.
Now, I want compile from source Broadcom BCM70015 but result this error when compiling libcrystalhd:

==> Continue building libcrystalhd-git ? [Y/n]
==> ------------------------------------------
==> 
==> Building and installing package
==> ERROR: Missing package() function in /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/./PKGBUILD
==> ERROR: Makepkg was unable to build libcrystalhd-git.
==> Restart building libcrystalhd-git ? [y/N]
==> -----------------------------------------
==> 

Where is the problem
Please help me. Thanks

Last edited by Eugen1968 (2015-02-08 22:53:17)

Offline

#2 2015-01-25 06:48:55

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

The problem seems to be that the package has been orphaned for awhile now and the pkgbuild is broken.

The libcrystalhd package is still maintained and has been updated more recently, have you tried it instead?


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#3 2015-01-25 07:36:53

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

nullified wrote:

The libcrystalhd package is still maintained and has been updated more recently, have you tried it instead?

No, I don't have tried.
Where I find  libcrystalhd package, please ?
I'm newbie and now I learn..

Last edited by Eugen1968 (2015-01-25 07:37:59)

Offline

#4 2015-01-25 07:47:58

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

Where/how did you find libcrystalhd-git? libcrystalhd is in the same place, the AUR... I'm a little confused about how you got to where you are now, did you follow some guide online, perhaps some non-arch source?


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#5 2015-01-25 07:57:19

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

But from AUR I used it.
This is the step:
    $ yaourt crystalhd

This will search all of the mainline repositories as well as aur for packages that contain crystalhd somewhere in the name or description.  The 2 we want are from AUR, and they are crystalhd-git and libcrystalhd-git.  to install them, just type the numbers of the packages separated by a space and press enter.  I think mine were 2 and 6.  It will ask you a couple of questions.  Anything that asks if you want to edit something, say no.  If it says do you want to install, say yes.
Here's the part that took me a while to get.  After your drivers and libraries compile, they will be placed in a particular directory...but your kernel will still try to use the old driver.  We need to tell it to use the new driver.  First, we need to copy the driver to an update directory.  This next command will vary for you depending on what version of the linux kernel you're running.  If you hit tab, it will try to fill in the rest of the directory name for you, so just type the 3. and hit tab.  It will fill in the rest of the kernel directory for you.

Last edited by Eugen1968 (2015-01-25 07:58:42)

Offline

#6 2015-01-25 08:09:27

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

where is this quote from? give the link please.

edit: i found the link online. it's a bad idea to follow 1.5 year old set up guides. the package is broken. when you did yaourt crystalhd the package i suggested should have appeared. try installing it and see if it works. I highly recommend reading through the arch linux beginner's guides and other relevant parts of the wiki for whatever you're trying to accomplish. That set-up guide is just a collection of bad suggestions based on outdated information.

Last edited by nullified (2015-01-25 08:24:09)


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#7 2015-01-25 08:30:47

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

nullified wrote:

where is this quote from? give the link please.

http://www.iam-clan.com/software/(build … /#msg24977

Offline

#8 2015-01-25 11:43:05

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

Excuse me, my english is not good.
What you mean with "try installing it and see if it works" ?
How to Install ?
Compiled driver exist somewhere for download?

Offline

#9 2015-01-25 16:26:19

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

Did you see my other response? If you use yaourt, as in

yaourt libcrystalhd

it should appear. I suspect you might need to learn more about using Arch Linux and the AUR. There is an Other Languages forum here that might help, you might ask there if there is a trusted resource for Arch beginners in your language.

Last edited by nullified (2015-01-25 18:20:43)


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#10 2015-01-25 18:54:14

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

This is why people get into problems.  They read a guide that actually says "It will ask you a couple of questions.  Anything that asks if you want to edit something, say no.  If it says do you want to install, say yes."  This is so wrong.  Please read.  If you did, you would realize the PKGBUILD is outdated when it now needs "package ()" as well.

The error even says "==> ERROR: Missing package() function in /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/./PKGBUILD"

To bypass this, edit the PKGBUILD.  When it asks you if you want to view/edit the PKGBUILD hit YES.  Change the word "build" to "package".  Save/exit.  Continue installation.  I strongly urge you to learn how to install without yaourt with just wget/curl, makepkg, and pacman.  It will improve your arch experience.  Please mark thread solved in title if it worked.

Last edited by frank604 (2015-02-01 18:52:43)

Offline

#11 2015-02-01 16:55:50

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

frank604 wrote:

To bypass this, edit the PKGBUILD.  When it asks you if you want to view/edit the PKGBUILD hit YES.  Change the word "build" to "package".  Save/exit.  Continue installation.  I strongly urge you to learn how to install without yaourt with just wget/curl, makepkg, and pacman.  It will improve your arch experience.  Please mark thread solved in title if it worked.

Changing the word "build" to "package" it go to final now, but appear some "warnings", such as :

WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x292): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_pci_release_mem()
The function __init chd_dec_pci_probe() references
a function __exit chd_pci_release_mem().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
chd_pci_release_mem() so it may be used outside an exit section.

WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x47a): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_dec_release_chdev()
The function __init chd_dec_pci_probe() references
a function __exit chd_dec_release_chdev().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
chd_dec_release_chdev() so it may be used outside an exit section.

WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.data+0x10): Section mismatch in reference from the variable bc_chd_driver to the function .init.text:chd_dec_pci_probe()
The variable bc_chd_driver references
the function __init chd_dec_pci_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

and at final, another error :

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                              [###########################################] 100%
(1/1) checking package integrity                                            [###########################################] 100%
(1/1) loading package files                                                 [###########################################] 100%
(1/1) checking for file conflicts                                           [###########################################] 100%
error: failed to commit transaction (conflicting files)
crystalhd-git: /lib exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-eugen
[eugen@HP-T5740 ~]$ 

Last edited by Eugen1968 (2015-02-01 17:08:38)

Offline

#12 2015-02-01 17:35:12

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

It worked for me, but I did it manually without yaurt. Try it manually.  Also why not show the full output?  Look into why there are Conflicting files and why /Lib exists in filesystem.  A lot of packages on aur are a bit outdated as arch evolves.  Study the pkg build, this one should be good learning for you.

Edit:  I adopted it for you and fixed the pkgbuild.  Should work now.

Last edited by frank604 (2015-02-01 18:33:20)

Offline

#13 2015-02-03 18:08:02

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

Thank you, for help.
This is the full output :

[eugen@HP-T5740 ~]$ yaourt crystalhd
1 aur/crystalhd-firmware 20120110-2 (3)
    Crystal HD Video Decoder firmware
2 aur/crystalhd-git 20130503-1 (10)
    Broadcom CrystalHD kernel module
3 aur/crystalhd-snapshot 3.8.0-2 (0)
    Broadcom CrystalHD kernel module & library, tagged releases from Google Code SVN tree
4 aur/gst-plugin-crystalhd-git 20120115-1 (4)
    Broadcom Crystal HD GST Plugin (Totem for instance) from git.wilsonet.com
5 aur/libcrystalhd 20100703-3 (2)
    Broadcom Crystal HD library
6 aur/libcrystalhd-git 20130503-2 (13)
    Broadcom CrystalHD library
==> Enter n of packages to be installed (ex: 1 2 3 or 1-3)
==> --------------------------------------------------------
==> 2


==> Downloading crystalhd-git PKGBUILD from AUR...
bsdtar: Failed to set default locale
x PKGBUILD
x devinitFix.patch
x crystalhd-git.install
Comment by rhon  (2013-04-20 12:58)
Have you installed kernel headers ?

Comment by rhon  (2013-05-03 12:08)
Patch is now included in package.

Comment by binaryjay  (2013-08-07 11:47)
Is there a reason that after all of this time this is still only available in AUR, why isn't this module available in the package repository?

Comment by rhon  (2013-08-22 04:46)
I guess it's because the package doesn't get enough votes.

Comment by rhon  (2013-09-26 20:36)
Package is now orphan because I don't use the devices anymore, so I can't test the module.

crystalhd-git 20130503-1  (Thu Feb  4 13:38:05 UTC 2010)
This package is orphaned
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y

Please add $EDITOR to your environment variables
for example:
export EDITOR="vim" (in ~/.bashrc)
(replace vim with your favorite editor)

==> Edit PKGBUILD with:  nano

==> crystalhd-git dependencies:
 - linux>=3.0 (already installed)
 - autoconf (already installed)
 - make (already installed)
 - libcrystalhd-git (building from AUR)
 - linux-headers>=3.0 (package found)
 - git (package found)


==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y

==> crystalhd-git dependencies:
 - linux>=3.0 (already installed)
 - autoconf (already installed)
 - make (already installed)
 - libcrystalhd-git (building from AUR)
 - linux-headers>=3.0 (package found)
 - git (package found)


==> Edit crystalhd-git.install ? [Y/n] ("A" to abort)
==> -------------------------------------------------
==> y

==> Continue building crystalhd-git ? [Y/n]
==> ---------------------------------------
==> 
==> Building and installing package
==> Install or build missing dependencies for crystalhd-git:
resolving dependencies...
looking for conflicting packages...

Packages (3) perl-error-0.17022-1  git-2.2.2-1  linux-headers-3.18.4-1

Total Download Size:   10.26 MiB
Total Installed Size:  57.07 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
 linux-headers-3.18.4-1-i686                         6.1 MiB   377K/s 00:17 [###########################################] 100%
 perl-error-0.17022-1-any                           18.3 KiB  0.00B/s 00:00 [###########################################] 100%
 git-2.2.2-1-i686                                    4.1 MiB   538K/s 00:08 [###########################################] 100%
(3/3) checking keys in keyring                                              [###########################################] 100%
(3/3) checking package integrity                                            [###########################################] 100%
(3/3) loading package files                                                 [###########################################] 100%
(3/3) checking for file conflicts                                           [###########################################] 100%
(3/3) checking available disk space                                         [###########################################] 100%
(1/3) installing linux-headers                                              [###########################################] 100%
(2/3) installing perl-error                                                 [###########################################] 100%
(3/3) installing git                                                        [###########################################] 100%
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    python2: various helper scripts
    subversion: git svn
    cvsps2: git cvsimport
    gnome-keyring: GNOME keyring credential helper

==> Downloading libcrystalhd-git PKGBUILD from AUR...
bsdtar: Failed to set default locale
x crystalhd-3cb6786-fix_typo.patch
x crystalhd-3cb6786-crosscompiling-0.1.patch
x crystalhd-3cb6786-lower_THRESHOLD_globals.patch
x crystalhd-3cb6786-use_8_DMA_buffers.patch
x PKGBUILD
Comment by rudolf  (2012-11-21 11:49)
I'm orphaning the crystalhd-git and libcrystalhd-git, because I don't have the hardware anymore.

Comment by rhon  (2013-04-03 21:12)
Updated with patches from Openelec (https://github.com/OpenELEC/OpenELEC.tv/tree/master/packages/multimedia/crystalhd/patches)

Comment by rhon  (2013-05-03 12:21)
Instead of fetching patches from github, there are now in the package.

Comment by rhon  (2013-09-26 20:36)
Package is now orphan because I don't use the devices anymore, so I can't test the module.

Comment by Eugen1968  (2015-01-25 10:58)
I want compile from source Broadcom BCM70015 but result this error when compiling libcrystalhd:

== Continue building libcrystalhd-git ? [Y/n]
== ------------------------------------------
== 
== Building and installing package
== ERROR: Missing package() function in /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/./PKGBUILD
== ERROR: Makepkg was unable to build libcrystalhd-git.
== Restart building libcrystalhd-git ? [y/N]
== -----------------------------------------
==

libcrystalhd-git 20130503-2  (Thu Feb  4 13:38:37 UTC 2010)
This package is orphaned
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y

==> libcrystalhd-git dependencies:
 - gcc-libs (already installed)
 - git (already installed)
 - make (already installed)


==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y

==> libcrystalhd-git dependencies:
 - gcc-libs (already installed)
 - git (already installed)
 - make (already installed)


==> Continue building libcrystalhd-git ? [Y/n]
==> ------------------------------------------
==> 
==> Building and installing package
==> Making package: libcrystalhd-git 20130503-2 (Sun Feb  1 14:04:15 UTC 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found crystalhd-3cb6786-crosscompiling-0.1.patch
  -> Found crystalhd-3cb6786-fix_typo.patch
  -> Found crystalhd-3cb6786-lower_THRESHOLD_globals.patch
  -> Found crystalhd-3cb6786-use_8_DMA_buffers.patch
==> Validating source files with md5sums...
    crystalhd-3cb6786-crosscompiling-0.1.patch ... Passed
    crystalhd-3cb6786-fix_typo.patch ... Passed
    crystalhd-3cb6786-lower_THRESHOLD_globals.patch ... Passed
    crystalhd-3cb6786-use_8_DMA_buffers.patch ... Passed
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
==> Connecting to the GIT server....
Cloning into 'crystalhd'...
remote: Counting objects: 2006, done.
remote: Compressing objects: 100% (385/385), done.
remote: Total 2006 (delta 1351), reused 2006 (delta 1351)
Receiving objects: 100% (2006/2006), 3.55 MiB | 347.00 KiB/s, done.
Resolving deltas: 100% (1351/1351), done.
Checking connectivity... done.
patching file linux_lib/libcrystalhd/Makefile
patching file linux_lib/libcrystalhd/libcrystalhd_fwdiag_if.cpp
patching file linux_lib/libcrystalhd/libcrystalhd_priv.h
patching file include/bc_dts_glob_lnx.h
OBJFILES = libcrystalhd_if.o libcrystalhd_int_if.o libcrystalhd_fwcmds.o libcrystalhd_priv.o libcrystalhd_fwdiag_if.o libcrystalhd_fwload_if.o libcrystalhd_parser.o
SRCFILES = libcrystalhd_if.cpp libcrystalhd_int_if.cpp libcrystalhd_fwcmds.cpp libcrystalhd_priv.cpp libcrystalhd_fwdiag_if.cpp libcrystalhd_fwload_if.cpp libcrystalhd_parser.cpp
LNM = libcrystalhd.so.3.6 libcrystalhd.so.3
g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2  -c -o libcrystalhd_if.o libcrystalhd_if.cpp
g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2  -c -o libcrystalhd_int_if.o libcrystalhd_int_if.cpp
libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsDevMemRd(HANDLE, uint32_t*, uint32_t, uint32_t)':
libcrystalhd_int_if.cpp:741:15: warning: variable 'IOcCode' set but not used [-Wunused-but-set-variable]
  uint32_t     IOcCode,size_in_dword;
               ^
libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsDevMemWr(HANDLE, uint32_t*, uint32_t, uint32_t)':
libcrystalhd_int_if.cpp:879:10: warning: passing NULL to non-pointer argument 8 of 'BOOL DtsDrvIoctl(HANDLE, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, BOOL)' [-Wconversion-null]
      NULL))
          ^
libcrystalhd_int_if.cpp:824:15: warning: variable 'IOcCode' set but not used [-Wunused-but-set-variable]
  uint32_t     IOcCode,size_in_dword;
               ^
libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyRawDataToOutBuff(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)':
libcrystalhd_int_if.cpp:1218:33: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable]
  uint32_t srcWidthInPixels = 0, srcHeightInPixels;
                                 ^
libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyNV12ToYV12(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)':
libcrystalhd_int_if.cpp:1283:29: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable]
  uint32_t srcWidthInPixels, srcHeightInPixels;
                             ^
libcrystalhd_int_if.cpp: In function 'BC_STATUS DtsCopyNV12(DTS_LIB_CONTEXT*, BC_DTS_PROC_OUT*, BC_DTS_PROC_OUT*)':
libcrystalhd_int_if.cpp:1366:31: warning: variable 'srcHeightInPixels' set but not used [-Wunused-but-set-variable]
  uint32_t srcWidthInPixels=0, srcHeightInPixels;
                               ^
libcrystalhd_int_if.cpp: At global scope:
libcrystalhd_int_if.cpp:1472:18: warning: 'BC_STATUS DtsCopy422ToYV12(uint8_t*, uint8_t*, const uint8_t*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' defined but not used [-Wunused-function]
 static BC_STATUS DtsCopy422ToYV12(uint8_t *dstY, uint8_t *dstUV, const uint8_t *srcY, uint32_t srcWidth, uint32_t dstWidth, uint32_t height, uint32_t strideY, uint32_t strideUV)
                  ^
libcrystalhd_int_if.cpp:1675:18: warning: 'BC_STATUS DtsCopy420ToYV12(uint8_t*, uint8_t*, const uint8_t*, const uint8_t*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t)' defined but not used [-Wunused-function]
 static BC_STATUS DtsCopy420ToYV12(uint8_t *dstY, uint8_t *dstUV, const uint8_t *srcY, const uint8_t *srcUV, uint32_t srcWidth, uint32_t dstWidth, uint32_t height, uint32_t strideY, uint32_t strideUV)
                  ^
g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2  -c -o libcrystalhd_fwcmds.o libcrystalhd_fwcmds.cpp
g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2  -c -o libcrystalhd_priv.o libcrystalhd_priv.cpp
g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2  -c -o libcrystalhd_fwdiag_if.o libcrystalhd_fwdiag_if.cpp
g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2  -c -o libcrystalhd_fwload_if.o libcrystalhd_fwload_if.cpp
g++ -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2  -c -o libcrystalhd_parser.o libcrystalhd_parser.cpp
libcrystalhd_parser.cpp: In function 'BC_STATUS DtsAddH264SCode(HANDLE, uint8_t**, uint32_t*, uint64_t*)':
libcrystalhd_parser.cpp:542:11: warning: variable 'pNALU' set but not used [-Wunused-but-set-variable]
  uint8_t *pNALU = NULL;
           ^
libcrystalhd_parser.cpp:543:11: warning: variable 'ulNalSize' set but not used [-Wunused-but-set-variable]
  uint32_t ulNalSize = 0;
           ^
g++ -D__LINUX_USER__ -I./ -I../../include -I../../include/link -O2 -Wall -fPIC -shared -fstrict-aliasing -msse2 -Wl,-soname,libcrystalhd.so.3 -pthread -o libcrystalhd.so.3.6 libcrystalhd_if.o libcrystalhd_int_if.o libcrystalhd_fwcmds.o libcrystalhd_priv.o libcrystalhd_fwdiag_if.o libcrystalhd_fwload_if.o libcrystalhd_parser.o
ln -sf libcrystalhd.so.3.6 libcrystalhd.so
ln -sf libcrystalhd.so.3.6 libcrystalhd.so.3
mkdir -p /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib
mkdir -p /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware
mkdir -p /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd
cp libcrystalhd_if.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/libcrystalhd_if.h
cp ../../include/bc_dts_defs.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/bc_dts_defs.h
cp ../../include/bc_dts_types.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/bc_dts_types.h
cp ../../include/libcrystalhd_version.h /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/
chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/include/libcrystalhd/libcrystalhd_version.h
cp ../../firmware/fwbin/70012/bcm70012fw.bin /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/
chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/bcm70012fw.bin
cp ../../firmware/fwbin/70015/bcm70015fw.bin /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/
chmod 0644 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/lib/firmware/bcm70015fw.bin
install -m 755 libcrystalhd.so.3.6 /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib
(cd /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib; ln -sf libcrystalhd.so.3.6 libcrystalhd.so)
(cd /tmp/yaourt-tmp-eugen/aur-libcrystalhd-git/pkg/libcrystalhd-git/usr/lib; ln -sf libcrystalhd.so.3.6 libcrystalhd.so.3)
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "libcrystalhd-git"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libcrystalhd-git 20130503-2 (Sun Feb  1 14:04:45 UTC 2015)

==> Continue installing libcrystalhd-git ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) libcrystalhd-git-20130503-2

Total Installed Size:  3.67 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                              [###########################################] 100%
(1/1) checking package integrity                                            [###########################################] 100%
(1/1) loading package files                                                 [###########################################] 100%
(1/1) checking for file conflicts                                           [###########################################] 100%
(1/1) checking available disk space                                         [###########################################] 100%
(1/1) installing libcrystalhd-git                                           [###########################################] 100%
==> Making package: crystalhd-git 20130503-1 (Sun Feb  1 14:04:59 UTC 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found devinitFix.patch
==> Validating source files with md5sums...
    devinitFix.patch ... Passed
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
==> Connecting to the GIT server....
Cloning into 'crystalhd'...
remote: Counting objects: 2006, done.
remote: Compressing objects: 100% (385/385), done.
remote: Total 2006 (delta 1351), reused 2006 (delta 1351)
Receiving objects: 100% (2006/2006), 3.55 MiB | 616.00 KiB/s, done.
Resolving deltas: 100% (1351/1351), done.
Checking connectivity... done.
patching file driver/linux/crystalhd_cmds.c
patching file driver/linux/crystalhd_lnx.c
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
checking for ld... ld
configure: creating ./config.status
config.status: creating ./Makefile
make -C /lib/modules/3.18.4-1-ARCH/build SUBDIRS=/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux modules
make[1]: Entering directory '/usr/lib/modules/3.18.4-1-ARCH/build'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
echo >&2 ;							\
/bin/false)
mkdir -p /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_versions ; rm -f /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux
  gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_lnx.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_lnx)"  -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_lnx.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o"; fi; fi;
  gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_misc.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_misc)"  -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_misc.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o"; fi; fi;
  gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_cmds.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_cmds)"  -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_cmds.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o"; fi; fi;
  gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_hw.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_hw)"  -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_hw.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o"; fi; fi;
  gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_linkfuncs.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_linkfuncs)"  -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_linkfuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o"; fi; fi;
  gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_fleafuncs.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_fleafuncs)"  -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_fleafuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c
/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c: In function 'crystalhd_flea_set_power_state':
/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:619:14: warning: 'regVal' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(!(regVal & BCHP_DDR23_CTL_REGS_0_CTL_STATUS_idle_MASK))
              ^
/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.c:566:11: note: 'regVal' was declared here
  uint32_t regVal;
           ^
  if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o"; fi; fi;
  gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd_flea_ddr.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd_flea_ddr)"  -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_crystalhd_flea_ddr.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.c
  if [ "-pg" = "-pg" ]; then if [ /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  "/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o"; fi; fi;
  ld -m elf_i386   -r -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_lnx.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_misc.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_cmds.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_hw.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_linkfuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_fleafuncs.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd_flea_ddr.o ; scripts/mod/modpost /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o
WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x292): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_pci_release_mem()
The function __init chd_dec_pci_probe() references
a function __exit chd_pci_release_mem().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
chd_pci_release_mem() so it may be used outside an exit section.

WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x47a): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_dec_release_chdev()
The function __init chd_dec_pci_probe() references
a function __exit chd_dec_release_chdev().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
chd_dec_release_chdev() so it may be used outside an exit section.

WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.data+0x10): Section mismatch in reference from the variable bc_chd_driver to the function .init.text:chd_dec_pci_probe()
The variable bc_chd_driver references
the function __init chd_dec_pci_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

(cat /dev/null;   echo kernel//tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.ko;) > /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/modules.order
make -f ./scripts/Makefile.modpost
  find /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m  -i ./Module.symvers -I /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/Module.symvers  -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/Module.symvers  -w  -s -T -
WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x292): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_pci_release_mem()
The function __init chd_dec_pci_probe() references
a function __exit chd_pci_release_mem().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
chd_pci_release_mem() so it may be used outside an exit section.

WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.init.text+0x47a): Section mismatch in reference from the function chd_dec_pci_probe() to the function .exit.text:chd_dec_release_chdev()
The function __init chd_dec_pci_probe() references
a function __exit chd_dec_release_chdev().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __exit annotation of
chd_dec_release_chdev() so it may be used outside an exit section.

WARNING: /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o(.data+0x10): Section mismatch in reference from the variable bc_chd_driver to the function .init.text:chd_dec_pci_probe()
The variable bc_chd_driver references
the function __init chd_dec_pci_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

  gcc -Wp,-MD,/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/.crystalhd.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated  -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m32 -msoft-float -mregparm=3 -freg-struct-return -fno-pic -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D__KERNEL__ -DMODULE -I/lib/modules/3.18.4-1-ARCH/build/include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/link -I/tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/../../include/flea -Wall -Wstrict-prototypes -Wno-trigraphs -O2  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(crystalhd.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(crystalhd)" -DMODULE  -c -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.mod.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.mod.c
  ld -r -m elf_i386 -T ./scripts/module-common.lds --build-id  -o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.ko /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.o /tmp/yaourt-tmp-eugen/aur-crystalhd-git/src/crystalhd/driver/linux/crystalhd.mod.o
make[1]: Leaving directory '/usr/lib/modules/3.18.4-1-ARCH/build'
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "crystalhd-git"...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: crystalhd-git 20130503-1 (Sun Feb  1 14:05:44 UTC 2015)

==> Continue installing crystalhd-git ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) crystalhd-git-20130503-1

Total Installed Size:  0.10 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                              [###########################################] 100%
(1/1) checking package integrity                                            [###########################################] 100%
(1/1) loading package files                                                 [###########################################] 100%
(1/1) checking for file conflicts                                           [###########################################] 100%
error: failed to commit transaction (conflicting files)
crystalhd-git: /lib exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-eugen

Offline

#14 2015-02-03 18:59:22

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

I adopted the wrong one lol.  I'll go look at the right one when I get home.

Offline

#15 2015-02-06 20:42:43

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

up

Offline

#16 2015-02-06 22:46:03

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

Well, both libcrystalhd-git and crystalhd-git install for me.  Make sure you have appropriate headers installed.  For example, the pkgbuild doesn't ensure you have the headers for a 'specialized' kernel.  If you have a linux-ck, linux-lts, linux-pfs, etc kernel, grab the headers for the appropriate one.

Beyond that, you might want to look at your other error?

error: failed to commit transaction (conflicting files)
crystalhd-git: /lib exists in filesystem

Offline

#17 2015-02-08 18:29:25

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

frank604 wrote:

Make sure you have appropriate headers installed.  For example, the pkgbuild doesn't ensure you have the headers for a 'specialized' kernel.  If you have a linux-ck, , linux-pfs, etc kernel, grab the headers for the appropriate one.

I have used this archlinux version :
Release: 2015.02.01
Included Kernel: 3.18.4
For this kernel, which headers should I use? linux-lts ?

frank604 wrote:

Beyond that, you might want to look at your other error?

error: failed to commit transaction (conflicting files)
crystalhd-git: /lib exists in filesystem

Yes, and this error is a problem. Thanks.

Offline

#18 2015-02-08 18:57:40

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

To show the actual kernel, give

uname -a

but if you haven't installed a specialized (patched) kernel then the pkgbuild should work fine for you and it should pull in the headers as a dependency.  Look into why /lib exists in filesystem.  That is your true error as I've fixed up both pkgbuilds to build properly for you.  You're welcome! smile

ps. you are doing full system updates and not partial ones right?  Because if you are still on 3.18.4 you are outdated by now.  Always do a full system update.

Offline

#19 2015-02-08 19:24:11

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

Before  compiling, I used : pacman -Sy and pacman -Syu
In the available time, I'll check tonight.
Thanks for guidance
-----later edit-----
Ok I checked kernel version:

Linux HP-T5740 3.18.6-1-ARCH #1 SMP PREEMPT Sat Feb 7 08:59:29 CET 2015 i686 GNU/Linux

Last edited by Eugen1968 (2015-02-08 20:49:54)

Offline

#20 2015-02-08 19:40:42

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

You know what's funny Eugen1968?  I just tried to install crystalhd-git and got the same error as you but when I manually install it (which I did last time to test) it worked.  As I am not good enough to fix the pkgbuild I'll just tell you how I installed it.

Install cower or cower-git <--best aur tool

 cower -d libcrystalhd-git
cower -d crystalhd-git
cd libcrystalhd-git
makepkg -s
pacman -U libcrystalhd-git....pkg.tar.xz
cd ..
cd crystalhd-git
makepkg -s
pacman -U crystalhd-git....pkg.tar.xz

Give that a try?  Sorry, I should of tried it your way from the beginning.

Offline

#21 2015-02-08 21:36:35

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

I installed libcrystalhd perfectly.
But I received same error from crystalhd

[eugen@HP-T5740 crystalhd-git]$ sudo pacman -U crystalhd-git-20130503-2-i686.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) crystalhd-git-20130503-2

Total Installed Size:  0.15 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
crystalhd-git: /lib exists in filesystem
Errors occurred, no packages were upgraded.
[eugen@HP-T5740 crystalhd-git]$

Last edited by Eugen1968 (2015-02-08 21:42:59)

Offline

#22 2015-02-08 21:55:13

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

Oops, I forgot to upload the pkgbuild I fixed.  You should be able to yaourt -S crystalhd-git now .... Hahaha I'm so bad at this but I'll be happy if it all works out for you.

edit 1: hrm, it didn't update in AUR, give me a second.

edit 2: ok, looks like it went through, give it a try now. 

Explanation: The problem was that with pacman 4.2 Allan changed how pacman's directory symlink handling.  So the pkgbuild was pointing to /lib when it should be pointing to /usr/lib.  More info on Allan's Blog Post.  He technically improved Arch by breaking it, if that makes sense.  Thanks Allan! big_smile  Another change was made requiring a package () function.  In this case, I was able to take out the build () function and replace it with package ().  Everything else in the pkgbuild seemed to be in order and installing properly.

Last edited by frank604 (2015-02-08 22:07:11)

Offline

#23 2015-02-08 22:22:04

Eugen1968
Member
Registered: 2015-01-24
Posts: 13

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

Ok it's working perfectly.
After compiling I did the following steps:

$ sudo mkdir /usr/lib/modules/3.18.6-1-ARCH/updates
$ sudo cp /usr/lib/modules/3.18.6-1-ARCH/kernel/drivers/video/broadcom/crystalhd.ko /usr/lib/modules/3.18.6-1-ARCH/updates/
$ sudo depmod
$ sudo modprobe crystalhd
$ sudo reboot

And now CrystalHd is loaded.

[eugen@HP-T5740 ~]$ lsmod
serio_raw              12737  0 
libphy                 27574  2 tg3,broadcom
cfg80211              386261  2 mac80211,rt2x00lib
crystalhd              84424  0 
crc_ccitt              12331  1 rt2800lib
rfkill                 18387  2 cfg80211
snd_hda_codec_hdmi     44455  1 
pcspkr                 12531  0 
snd_hda_codec_realtek    58068  1 
drm_kms_helper         71483  1 i915

Thank you frank604, you ar the best.

Last edited by Eugen1968 (2015-02-08 22:25:02)

Offline

#24 2015-02-08 22:41:33

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] error compiling from source Broadcom BCM70015 driver

Please edit the thread and add in SOLVED.  And you're welcome!!

Offline

Board footer

Powered by FluxBB