LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-11-2008, 02:17 PM   #1
Sussch
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Question allegro alfont 2.0.6 fails to compile in Arch linux


Hello,

I downloaded alfont206.rar from http://chernsha.sitesled.com/

Having extracted it, did chmod -R a+rwx * in the extracted folder.
Then I ran the fixunix.sh script in order to convert files into unix format.

In the Makefile I selected TARGET=LINUX_STATIC
and in ./include/alfont.h I chose #define ALFONT_LINUX.

However, the compilation process provided me with an unpleasant surprise:

Code:
# make
gcc -c -Wall -O2 -march=pentium -fomit-frame-pointer -finline-functions -ffast-math -Ifreetype/include -Iinclude src/alfont.c -o obj/linux/static/alfont.o
src/alfont.c: In function 'alfont_load_font_from_mem':
src/alfont.c:500: warning: pointer targets in passing argument 2 of 'FT_New_Memory_Face' differ in signedness
src/alfont.c: In function 'alfont_textout_aa_ex':
src/alfont.c:874: error: lvalue required as unary '&' operand
src/alfont.c:874: error: lvalue required as unary '&' operand
src/alfont.c:874: error: lvalue required as unary '&' operand
src/alfont.c: In function 'alfont_textout_ex':
src/alfont.c:1960: error: lvalue required as unary '&' operand
src/alfont.c:1960: error: lvalue required as unary '&' operand
src/alfont.c:1960: error: lvalue required as unary '&' operand
src/alfont.c: In function 'alfont_text_length':
src/alfont.c:2738: error: lvalue required as unary '&' operand
src/alfont.c:2738: error: lvalue required as unary '&' operand
src/alfont.c:2738: error: lvalue required as unary '&' operand
src/alfont.c: In function 'alfont_ugetc':
src/alfont.c:3052: warning: unused variable 'lpszW_pointer'
make: *** [alfont.o] Error 1
I tried to compile it with gcc-3.3 and gcc-3.4 aswell but to no avail.
The same errors occur every time.

All suggestions are welcome,
Thank You
 
  


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
linux 2.6.10 - compile kgdb fails dansirbu101 Linux - Kernel 0 01-08-2007 11:39 AM
Trying to compile 2.6.19, how do I prevent arch/i386/mach-generic/probe.c from runnin vivekt Linux - Kernel 1 12-03-2006 03:04 PM
How to compile a C++ file (.cpp) with allegro? RHLinuxGUY Programming 5 11-29-2005 02:06 AM
audio device fails to open on arch linux, even after alsa config sether Linux - Hardware 1 10-07-2004 12:43 AM
Can't get kernel to compile as x86_64 arch... Electrode Linux - Software 22 12-18-2003 09:11 AM


All times are GMT -5. The time now is 11:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration