Bug 79767 - latest git fails to compile: errors in siliconmotion smilynx_hw.c
Summary: latest git fails to compile: errors in siliconmotion smilynx_hw.c
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/siliconmotion (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-07 12:50 UTC by Chris Bainbridge
Modified: 2018-08-10 20:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bainbridge 2014-06-07 12:50:52 UTC
Trying to compile Xorg following instructions at http://www.x.org/wiki/Building_the_X_Window_System/ - "./util/modular/build.sh --clone ~/build" eventually fails:


In file included from smilynx_output.c:33:0:
smi.h:224:5: warning: 'IOADDRESS' is deprecated [-Wdeprecated-declarations]
     IOADDRESS  PIOBase; /* Base of I/O ports */
     ^
  CC       smilynx_hw.lo
In file included from smi.h:40:0,
                 from smilynx_hw.c:33:
/root/build/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server." [-Wcpp]
 #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server."
  ^
In file included from smilynx_hw.c:33:0:
smi.h:224:5: warning: 'IOADDRESS' is deprecated [-Wdeprecated-declarations]
     IOADDRESS  PIOBase; /* Base of I/O ports */
     ^
smilynx_hw.c:576:41: error: unknown type name 'xf86ddcSpeec'
 SMILynx_ddc1SetSpeed(ScrnInfoPtr pScrn, xf86ddcSpeec speed)
                                         ^
smilynx_hw.c: In function 'SMILynx_ddc1':
smilynx_hw.c:594:7: error: 'SMILynx_ddc1SetSpeed' undeclared (first use in this function)
       SMILynx_ddc1SetSpeed,
       ^
smilynx_hw.c:594:7: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [smilynx_hw.lo] Error 1
make[2]: Leaving directory `/root/src/driver/xf86-video-siliconmotion/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/driver/xf86-video-siliconmotion'
make: *** [all] Error 2
build.sh: "make " failed on driver/xf86-video-siliconmotion
build.sh: error processing:  "driver/xf86-video-siliconmotion"
Comment 2 GitLab Migration User 2018-08-10 20:46:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-siliconmotion/issues/3.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.