LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2007, 02:42 PM   #1
leif_84
LQ Newbie
 
Registered: Jun 2007
Posts: 25

Rep: Reputation: 15
is it even posible to compile this library?


Alright, it's literally the 3rd day, since I'm trying to compile this library: http://ming.sourceforge.net/
I never had any success. I think I got all the required libraries, but still I'm getting errors.

Code:
ming-0.3a/ming/php_ext$ make
cd ..; make static
make[1]: Entering directory `/home/q6z4kf/Desktop/ming-0.3a/ming'
cd src && make static
make[2]: Entering directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src'
cd blocks && make
make[3]: Entering directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src/blocks'
gcc -g -Wall -I.. -I.     -c -o pngdbl.o pngdbl.c
pngdbl.c: In function ‘openPngFromInput’:
pngdbl.c:54: warning: pointer targets in passing argument 2 of ‘SWFInput_read’ differ in signedness
pngdbl.c: In function ‘readPNG’:
pngdbl.c:282: warning: pointer targets in passing argument 2 of ‘compress2’ differ in signedness
make[3]: Leaving directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src/blocks'
cd actioncompiler && make
make[3]: Entering directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src/actioncompiler'
gcc -g -Wall -I.. -I.     -c -o compile.o compile.c
gcc -g -Wall -I.. -I.     -c -o listaction.o listaction.c
bison --defines --debug -p swf4 swf4compiler.y
swf4compiler.y: conflicts: 49 shift/reduce, 42 reduce/reduce
swf4compiler.y:176.25-38: warning: rule never reduced because of conflicts: statements: /* empty */
swf4compiler.y:669.11-673.29: warning: rule never reduced because of conflicts: rhs_expr: '-' NUMBER
flex  -i -Pswf4 swf4compiler.flex
gcc -g -Wall -I.. -I.     -c -o lex.swf4.o lex.swf4.c
swf4compiler.flex:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘YY_PROTO’
swf4compiler.flex: In function ‘do_unput4’:
swf4compiler.flex:82: warning: implicit declaration of function ‘yyunput’
lex.swf4.c: At top level:
lex.swf4.c:819: warning: conflicting types for ‘yyunput’
lex.swf4.c:819: error: static declaration of ‘yyunput’ follows non-static declaration
swf4compiler.flex:82: error: previous implicit declaration of ‘yyunput’ was here
make[3]: *** [lex.swf4.o] Error 1
make[3]: Leaving directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src/actioncompiler'
make[2]: *** [static] Error 2
make[2]: Leaving directory `/home/q6z4kf/Desktop/ming-0.3a/ming/src'
make[1]: *** [static] Error 2
make[1]: Leaving directory `/home/q6z4kf/Desktop/ming-0.3a/ming'
make: *** [../libming.a] Error 2
q6z4kf@A135:~/Desktop/ming-0.3a/ming/php_ext$
I have no idea what is ‘yyunput’ and what do I need to do to fix it and make it finally to compile.. any suggestions please? thank you!
 
Old 07-24-2007, 05:52 PM   #2
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
This is definitely a question for the library maintainer(s). They are the ones that wrote it and should be able to interpret the point in the code generating the error. It's probably not something you really have control over.
ta0kira
 
  


Reply



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
compile error srgp library in C csst0136 Programming 13 10-25-2005 09:36 PM
x86_64 library compile problem zypo Fedora 1 10-10-2005 04:46 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM
How to compile a tiny simple library by g++? Xiangbuilder Programming 13 10-20-2003 08:33 PM
compile..can't find library files doublefailure Linux - General 3 12-03-2002 02:11 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:43 PM.

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