Bug 3121 - Static build fails to link with sis and sisusb drivers
Summary: Static build fails to link with sis and sisusb drivers
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/SiS (show other bugs)
Version: git
Hardware: x86 (IA32) All
: high normal
Assignee: Thomas Winischhofer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 13:07 UTC by Kevin E. Martin
Modified: 2005-04-23 20:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Add sis_utility.c and sisusb_utility.c to Imakefile (1.80 KB, patch)
2005-04-24 13:08 UTC, Kevin E. Martin
no flags Details | Splinter Review

Description Kevin E. Martin 2005-04-24 13:07:17 UTC
When building a non-loadable X server, the sis and sisusb drivers are missing
some functions.  I found that they were included in the new sis_utility.c and
sisusb_utility.c files.  I've added them to the Imakefiles and the build now
succeeds.  I will attach a patch in a moment with these changes.

Here's the build failure:

../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sis_drv.o)(.text+0x6d2):
In function `SISProbe':
: undefined reference to `SISHandleMessage'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sis_drv.o)(.text+0x1505c):
In function `SISCloseScreen':
: undefined reference to `SiSCtrlExtUnregister'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sis_drv.o)(.text+0x15e56):
In function `SISScreenInit':
: undefined reference to `SiSCtrlExtInit'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sis_drv.o)(.text+0x2fb5d):
In function `SISSetPortAttribute':
: undefined reference to `SISSetPortUtilAttribute'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sis_drv.o)(.text+0x2ffe1):
In function `SISGetPortAttribute':
: undefined reference to `SISGetPortUtilAttribute'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sisusb_drv.o)(.text+0x68d):
In function `SISUSBProbe':
: undefined reference to `SISUSBHandleMessage'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sisusb_drv.o)(.text+0x2a58):
In function `SISUSBCloseScreen':
: undefined reference to `SiSUSBCtrlExtUnregister'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sisusb_drv.o)(.text+0x30fa):
In function `SISUSBScreenInit':
: undefined reference to `SiSUSBCtrlExtInit'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sisusb_drv.o)(.text+0x7666):
In function `SISUSBSetPortAttribute':
: undefined reference to `SISUSBSetPortUtilAttribute'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(sisusb_drv.o)(.text+0x794f):
In function `SISUSBGetPortAttribute':
: undefined reference to `SISUSBGetPortUtilAttribute'
Comment 1 Kevin E. Martin 2005-04-24 13:08:11 UTC
Created attachment 2529 [details] [review]
Add sis_utility.c and sisusb_utility.c to Imakefile
Comment 2 Thomas Winischhofer 2005-04-24 13:30:31 UTC
Whoops. Fixed.
Comment 3 Kevin E. Martin 2005-04-24 13:59:22 UTC
Thanks Thomas!


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.