Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Feb 2005 00:24:42 -0600
From:      Brian John <brianjohn@fusemail.com>
To:        "Michael C. Shultz" <reso3w83@verizon.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to compile linux apps?
Message-ID:  <4205B82A.1070702@fusemail.com>
In-Reply-To: <200502052203.06122.reso3w83@verizon.net>
References:  <4205B299.9080403@fusemail.com> <200502052203.06122.reso3w83@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael C. Shultz wrote:

>On Saturday 05 February 2005 10:00 pm, Brian John wrote:
>  
>
>>Hello, I'm trying to compile the 'allin1' dockapp for fluxbox.  When
>>I type 'make', I get the following errors:
>>n# make
>>gcc -ggdb -Wall -O2 -c allin1.c
>>allin1.c:32:22: X11/Xlib.h: No such file or directory
>>In file included from allin1.c:34:
>>dockhelper.h:86: error: syntax error before '*' token
>>dockhelper.h:89: error: syntax error before "p"
>>dockhelper.h:92: error: syntax error before '*' token
>>dockhelper.h:95: error: syntax error before "src"
>>dockhelper.h:98: error: syntax error before '*' token
>>dockhelper.h:98: warning: type defaults to `int' in declaration of
>>`dh_display'
>>dockhelper.h:98: warning: data definition has no type or storage
>>class In file included from allin1.c:37:
>>cpu.h:54: error: syntax error before "Pixmap"
>>allin1.c: In function `main':
>>allin1.c:174: error: syntax error before "event"
>>allin1.c:414: warning: implicit declaration of function `XPending'
>>allin1.c:415: warning: implicit declaration of function `XNextEvent'
>>allin1.c:415: error: `event' undeclared (first use in this function)
>>allin1.c:415: error: (Each undeclared identifier is reported only
>>once allin1.c:415: error: for each function it appears in.)
>>allin1.c:417: error: `Expose' undeclared (first use in this function)
>>allin1.c:418: warning: implicit declaration of function
>>`XCheckTypedEvent' allin1.c:421: error: `DestroyNotify' undeclared
>>(first use in this function) allin1.c:422: warning: implicit
>>declaration of function `XCloseDisplay' *** Error code 1
>>
>>Stop in /usr/home/brian/allin1-0.5.0/src.
>>
>>
>>Any clue how I can compile this?
>>
>>Thanks
>>
>>/Brian
>>    
>>
>
>I'm assuming this is not a port. Try
>./configure --prefix=/usr/local
>then make
>
>-Mike
>
>CORRECTION
>./configure --prefix=/usr/X11R6
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>  
>
When I type that I get:
# ./configure --prefix=/usr/X11R6
su: ./configure: No such file or directory

Any more ideas?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4205B82A.1070702>