Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Compilation error on Linux #1

Open
wbsun opened this Issue May 14, 2012 · 5 comments

Comments

Projects
None yet
5 participants

wbsun commented May 14, 2012

Hi, I pulled the latest pscnv code from github and tried to compile it in my Linux box. I followed the steps in README file but got the following errors when compiling pscnv code:

[ 0%] Generating ../../pscnv/nvc0_copy.fuc.h
[ 0%] Generating ../../pscnv/pscnv_kapi.h
[ 0%] Generating ../../pscnv/nv98_crypt.fuc.h
[ 0%] Generating ../../pscnv/nvc0_grhub.fuc.h
[ 0%] Generating ../../pscnv/nvc0_grgpc.fuc.h
[ 0%] Generating ../../pscnv/pscnv.ko
/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.c: In function ‘nouveau_audio_mode_set’:
/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.c:101: error: implicit declaration of function ‘drm_edid_to_eld’
/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.c:102: error: ‘struct drm_connector’ has no member named ‘eld’
/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.c:103: error: ‘struct drm_connector’ has no member named ‘eld’
make[4]: *** [/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.o] Error 1
make[3]: *** [module/mnt/pscnv/pscnv/pscnv] Error 2
make[2]: *** [../pscnv/pscnv.ko] Error 2
make[1]: *** [pscnv/CMakeFiles/pscnv_ko.dir/all] Error 2
make: *** [all] Error 2

Any ideas to figure out the solution? Thanks!

-Weibin

Contributor

cbergstrom commented May 14, 2012

Feel free to include things like which OS/distro/kernel version or other relevant details

wbsun commented May 14, 2012

The OS is Ubuntu 10.10 64bit, the kernel is 2.6.38.1, gcc is 4.4.5, cmake version is 2.8.2 and make version is 3.8.1.

Contributor

mlankhorst commented May 15, 2012

Hey,

Op 14-05-12 18:40, Weibin Sun schreef:

Hi, I pulled the latest pscnv code from github and tried to compile it in my Linux box. I followed the steps in README file but got the following errors when compiling pscnv code:

[ 0%] Generating ../../pscnv/nvc0_copy.fuc.h
[ 0%] Generating ../../pscnv/pscnv_kapi.h
[ 0%] Generating ../../pscnv/nv98_crypt.fuc.h
[ 0%] Generating ../../pscnv/nvc0_grhub.fuc.h
[ 0%] Generating ../../pscnv/nvc0_grgpc.fuc.h
[ 0%] Generating ../../pscnv/pscnv.ko
/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.c: In function ‘nouveau_audio_mode_set’:
/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.c:101: error: implicit declaration of function ‘drm_edid_to_eld’
/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.c:102: error: ‘struct drm_connector’ has no member named ‘eld’
/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.c:103: error: ‘struct drm_connector’ has no member named ‘eld’
make[4]: *** [/mnt/pscnv/pscnv/pscnv/nouveau_hdmi.o] Error 1
make[3]: *** [module/mnt/pscnv/pscnv/pscnv] Error 2
make[2]: *** [../pscnv/pscnv.ko] Error 2
make[1]: *** [pscnv/CMakeFiles/pscnv_ko.dir/all] Error 2
make: *** [all] Error 2

Any ideas to figure out the solution? Thanks!

Woops, that probably needs there needs to be a test for the drm_edid_to_eld function in kapitests, if that function is unavailable that file should only perform noops.

~Maarten

Hey Weibin,

Good to see you here :)
You can also ask your question at #pathscale in IRC.

  • Shinpei
Contributor

mharsch commented Jul 30, 2012

This affects kernels prior to v3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment