LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2006, 01:17 PM   #1
Orkie
Member
 
Registered: Mar 2005
Distribution: Breezy Badger
Posts: 248

Rep: Reputation: 30
Cross-compiling a static Xfbdev from XFree86 4.3


SOLVED: I had to use CDEBUGFLAGS="-static" when building the server component

Hi

I'm trying to compile a statically linked Xfbdev from Xfree86 4.3. I have been following the instructions here and have successfully built an executable file. However, I need to statically link it for anything to work (the binary runs but complains about the wrong version of libc, so doesn't stay running for long).
here is my host.def:
Code:
#define KDriveXServer              YES
#define KdriveServerExtraDefines -DITSY -DMAXSCREENS=2
#define TinyXServer                YES
#define CrossCompiling             YES
#define ItsyCompilerBug            YES
#undef BuildRandR
#define BuildRandR                 YES
#define BuildXInputLib             YES
#define ProjectRoot                /x11arm
#define Freetype2Dir               $(TOP)/extras/freetype2
#define Freetype2LibDir            $(TOP)/exports/lib
#define BuildXTrueType             YES
#define BuildScreenSaverExt        YES
#define BuildScreenSaverLibrary    YES
#define SharedLibXss               YES
#define ServerXdmcpDefines
#define XfbdevServer               YES
#define XipaqServer                YES
#undef DoLoadableServer
#define DoLoadableServer       NO
#define ForceNormalLib           YES
I added the DoLoadableServer option hoping it would build a static binary, but I still got a dynamic one.

Any ideas on how to get this working correctly?

Thanks

Last edited by Orkie; 05-13-2006 at 05:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross Compiling dosnlinux Programming 5 03-01-2006 11:12 AM
cross compiling cerin Linux - Software 1 02-11-2006 10:47 PM
cross-compiling? jon_k Programming 3 12-09-2004 09:36 AM
cross compiling with g++ hornofsalvation Linux - Newbie 2 10-09-2004 10:29 PM
Static Bind Applications to Kernel; cross compilation Alybyzrp Linux - Newbie 0 11-25-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration