How to build Xephyr from source on Lucid-10.04.1LTS?
I'm trying to build Xephyr from sources so I can add the "-geometry" hack discussed here & there. I've loaded the Ubuntu sources & patches, and also tried stock Xorg sources, but the build in the Xephyr directory always fails with missing/broken includes and undefined structures. It's not just one or two problems; almost every file in hw/kdrive/ephyr fails to compile, so I'm guessing I'm missing a ./configure option or something. Any help to resolve?
root@vheissu:
CC ephyrvideo.o
ephyrvideo.c:35:20: error: kdrive.h: No such file or directory
ephyrvideo.c:36:17: error: kxv.h: No such file or directory
In file included from ../../.
../../.
In file included from ../../.
../../.
In file included from ../../.
../../.
../../.
../../.
../../.
In file included from ephyr.h:36,
../../.
../../.
In file included from ephyr.h:36,
../../.
../../.
../../.
../../.
../../.
../../.
VPriv’ has no member named ‘adaptors’
ephyrvideo.c:554: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:554: error: ‘KdImagePtr’ undeclared (first use in this function)
ephyrvideo.c:554: error: expected ‘;’ before ‘image_formats’
ephyrvideo.c:555: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
In file included from ephyrvideo.c:37:
ephyr.h:39:22: error: randrstr.h: No such file or directory
ephyr.h:42:20: error: damage.h: No such file or directory
In file included from ephyrvideo.c:37:
ephyr.h:57: error: expected specifier-
ephyr.h:64: error: expected specifier-
ephyr.h:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ephyrFuncs’
ephyr.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ephyr.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ephyr.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ephyrPointerSc
ephyr.h:78: error: expected ‘)’ before ‘*’ token
ephyr.h:81: error: expected ‘)’ before ‘*’ token
ephyr.h:84: error: expected ‘)’ before ‘*’ token
ephyr.h:87: error: expected ‘)’ before ‘*’ token
ephyr.h:99: error: expected ‘)’ before ‘*’ token
ephyr.h:111: error: expected ‘)’ before ‘*’ token
ephyr.h:114: error: expected ‘)’ before ‘*’ token
ephyr.h:117: error: expected ‘)’ before ‘*’ token
ephyr.h:126: error: expected ‘)’ before ‘*’ token
ephyr.h:140: error: expected ‘)’ before ‘*’ token
ephyr.h:156: error: expected declaration specifiers or ‘...’ before ‘Rotation’
ephyr.h:160: error: expected declaration specifiers or ‘...’ before ‘Rotation’
ephyr.h:162: error: expected declaration specifiers or ‘...’ before ‘RRScreenSizePtr’
ephyr.h:167: error: expected declaration specifiers or ‘...’ before ‘shadowBufPtr’
ephyr.h:174: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EphyrMouseDriver’
ephyr.h:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EphyrKeyboardD
ephyr.h:178: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘EphyrOsFuncs’
ephyrvideo.c:43: error: expected specifier-
ephyrvideo.c:50: error: expected specifier-
ephyrvideo.c:78: error: expected ‘)’ before ‘a_attrs’
ephyrvideo.c:94: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:98: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:103: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:108: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:118: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:136: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:143: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:152: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:161: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:170: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:179: error: expected ‘)’ before ‘*’ token
ephyrvideo.c: In function ‘DoSimpleClip’:
ephyrvideo.c:196: error: storage size of ‘dstClippedBox’ isn’t known
ephyrvideo.c:203: error: dereferencing pointer to incomplete type
ephyrvideo.c:204: error: dereferencing pointer to incomplete type
ephyrvideo.c:205: error: dereferencing pointer to incomplete type
ephyrvideo.c:206: error: dereferencing pointer to incomplete type
ephyrvideo.c:213: error: dereferencing pointer to incomplete type
ephyrvideo.c:214: error: dereferencing pointer to incomplete type
ephyrvideo.c:221: error: dereferencing pointer to incomplete type
ephyrvideo.c:222: error: dereferencing pointer to incomplete type
ephyrvideo.c:225: error: dereferencing pointer to incomplete type
ephyrvideo.c:226: error: dereferencing pointer to incomplete type
ephyrvideo.c:229: error: dereferencing pointer to incomplete type
ephyrvideo.c:230: error: dereferencing pointer to incomplete type
ephyrvideo.c: In function ‘ephyrInitVideo’:
ephyrvideo.c:300: error: ‘KdScreenInfo’ undeclared (first use in this function)
ephyrvideo.c:300: error: (Each undeclared identifier is reported only once
ephyrvideo.c:300: error: for each function it appears in.)
ephyrvideo.c:300: error: ‘screen’ undeclared (first use in this function)
ephyrvideo.c:300: error: ‘pScreenPriv’ undeclared (first use in this function)
ephyrvideo.c: In function ‘ephyrXVPrivDel
ephyrvideo.c:374: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:375: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:376: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c: At top level:
ephyrvideo.c:383: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘videoEncodingDup’
ephyrvideo.c:404: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘portAttributesDup’
ephyrvideo.c: In function ‘ephyrXVPrivQue
ephyrvideo.c:449: error: ‘EphyrXVPriv’ has no member named ‘num_adaptors’
ephyrvideo.c:451: error: ‘EphyrXVPriv’ has no member named ‘num_adaptors’
ephyrvideo.c:459: error: ‘EphyrXVPriv’ has no member named ‘num_adaptors’
ephyrvideo.c:460: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:460: error: ‘EphyrXVPriv’ has no member named ‘num_adaptors’
ephyrvideo.c:460: error: ‘KdVideoAdaptorRec’ undeclared (first use in this function)
ephyrvideo.c:462: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:467: error: ‘EphyrXVPriv’ has no member named ‘num_adaptors’
ephyrvideo.c:473: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:475: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:479: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:481: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:482: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:483: error: ‘VIDEO_
ephyrvideo.c:483: error: ‘VIDEO_
ephyrvideo.c:485: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:488: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:505: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:506: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:511: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:511: error: ‘KdVideoFormatPtr’ undeclared (first use in this function)
ephyrvideo.c:511: error: expected ‘;’ before ‘video_formats’
ephyrvideo.c:512: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:517: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:518: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:520: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:521: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:523: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:526: error: ‘EphyrPortPriv’ has no member named ‘current_adaptor’
ephyrvideo.c:526: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:527: error: ‘EphyrPortPriv’ has no member named ‘xv_priv’
ephyrvideo.c:528: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:537: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:539: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:541: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:542: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:543: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:544: error: ‘EphyrXephyrvid
ephyrvideo.c:583: error: ‘EphyrXVPriv’ has no member named ‘num_adaptors’
ephyrvideo.c:584: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:584: error: ‘ephyrReputImage’ undeclared (first use in this function)
ephyrvideo.c:585: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:585: error: ‘ephyrStopVideo’ undeclared (first use in this function)
ephyrvideo.c:586: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:586: error: ‘ephyrSetPortAt
ephyrvideo.c:587: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:587: error: ‘ephyrGetPortAt
ephyrvideo.c:588: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:588: error: ‘ephyrQueryBest
ephyrvideo.c:589: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:589: error: ‘ephyrQueryImag
ephyrvideo.c:602: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:602: error: ‘ephyrPutImage’ undeclared (first use in this function)
ephyrvideo.c:610: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:610: error: ‘ephyrPutVideo’ undeclared (first use in this function)
ephyrvideo.c:618: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:618: error: ‘ephyrGetVideo’ undeclared (first use in this function)
ephyrvideo.c:626: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:626: error: ‘ephyrPutStill’ undeclared (first use in this function)
ephyrvideo.c:634: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c:634: error: ‘ephyrGetStill’ undeclared (first use in this function)
ephyrvideo.c: In function ‘ephyrXVPrivReg
ephyrvideo.c:646: error: ‘KdScreenInfo’ undeclared (first use in this function)
ephyrvideo.c:646: error: ‘screen’ undeclared (first use in this function)
ephyrvideo.c:646: error: ‘pScreenPriv’ undeclared (first use in this function)
ephyrvideo.c:648: error: ‘KdVideoAdaptorPtr’ undeclared (first use in this function)
ephyrvideo.c:648: error: ‘adaptors’ undeclared (first use in this function)
ephyrvideo.c:648: error: ‘registered_
ephyrvideo.c:655: error: ‘EphyrXVPriv’ has no member named ‘num_adaptors’
ephyrvideo.c:660: error: ‘EphyrXVPriv’ has no member named ‘num_adaptors’
ephyrvideo.c:667: error: ‘EphyrXVPriv’ has no member named ‘num_adaptors’
ephyrvideo.c:668: error: ‘EphyrXVPriv’ has no member named ‘adaptors’
ephyrvideo.c: At top level:
ephyrvideo.c:691: error: expected ‘)’ before ‘a_attrs’
ephyrvideo.c: In function ‘ephyrXVPrivSav
ephyrvideo.c:756: error: ‘EphyrPortPriv’ has no member named ‘image_buf_size’
ephyrvideo.c:758: error: ‘EphyrPortPriv’ has no member named ‘image_buf’
ephyrvideo.c:763: error: ‘EphyrPortPriv’ has no member named ‘image_buf’
ephyrvideo.c:764: error: ‘EphyrPortPriv’ has no member named ‘image_buf_size’
ephyrvideo.c:766: error: ‘EphyrPortPriv’ has no member named ‘image_buf’
ephyrvideo.c: At top level:
ephyrvideo.c:775: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:791: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:856: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:893: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:921: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:1005: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:1047: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:1098: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:1149: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:1200: error: expected ‘)’ before ‘*’ token
ephyrvideo.c:1251: error: expected ‘)’ before ‘*’ token
make: *** [ephyrvideo.lo] Error 1
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- dave m.
- Solved:
- Last query:
- Last reply: