Emuforums.com

Go Back   Emuforums.com > PSX Emulation > PSX Plugin Questions & Troubleshooting
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old November 26th, 2005   #1 (permalink)
Golden Condom
 
MoJo's Avatar
 
Join Date: Nov 2002
Location: 日本
Posts: 379
Help with compiling gpupeopssoftx 1.17

I am having some difficulties in compiling gpupeopssoftx 1.17 plugin. I am using Ubuntu Breezy, where libXxf86vm.a is placed under folder '/usr/lib' so I edit the path of '/makes/mk.x11': line 23,24.

Code:
ifeq ($(XF86VM), TRUE)
        OBJECTS+= /usr/lib/libXxf86vm.a
        CFGOBJS+= /usr/lib/libXxf86vm.a
        CFLAGS+= -DUSE_XF86VM
And I come back to 'src' folder and type 'make'. I get an output error:

Code:
mojo@mojo:~/Desktop/src$ make
gcc -g -Wall -fPIC -O4 -fomit-frame-pointer -ffast-math -I/usr/local/include  `gtk-config --cflags` -DUSE_XF86VM   -c -o draw.o draw.c
In file included from /usr/include/X11/extensions/xf86vmode.h:39,
                 from draw.c:4403:
/usr/include/X11/Xmd.h:157: error: two or more data types in declaration specifiers
/usr/include/X11/Xmd.h:157: error: two or more data types in declaration specifiers
draw.c: In function ‘CreateDisplay’:
draw.c:4767: warning: pointer targets in passing argument 6 of ‘XCreateImage’ differ in signedness
draw.c: In function ‘XStretchBlt16’:
draw.c:5706: error: invalid lvalue in increment
make: *** [draw.o] Error 1
The error with file header Xmd.h is very suspicious to me, so I dive into that file, go to line 157 to see what the problems really are, I found this:

Code:
#ifndef I_NEED_OS2_H
typedef CARD8           BYTE;
typedef CARD8           BOOL;
#else
#define BYTE    CARD8
#define BOOL CARD8
#endif
The way Xmd.h declare a var as 2 possible var types is pretty okay (fix me if i am wrong), i think the problem might be of gcc4's. I am not quite sure, does any1 have any ideas or advices? Thanks so much in adv. I am very desperate to compile this plugin under Ubuntu Breezy.
__________________

>> IBM Thinkpad X61 <<

OS: Ubuntu Ibex Intrepid SVN
MoJo is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 23:41.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5