On Aug 26, 2008, at 1:39 PM, Daniel E. Macks wrote:
> Alexander Hansen <[EMAIL PROTECTED]> said:
>> On Aug 24, 2008, at 10:43 PM, [EMAIL PROTECTED] wrote:
>>> I'm having trouble compiling tightvnc:
>>>
>>> ./config/imake/imake -I./config/cf -s ./config/makedepend/
>>> Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -
>>> DCURDIR=./config/makedepend
>>> In file included from ./config/cf/site.def:57,
>>> from ./config/cf/Imake.tmpl:42,
>>> from Imakefile.c:5:
>>> ./config/cf/vnc.def:13: error: platform.def: No such file or
>>> directory
>>> ./config/imake/imake: Exit code 1.
>>> Stop.
>>> make[1]: *** [config/makedepend/Makefile.proto] Error 1
>>> make: *** [World] Error 2
>>> ### execution of make failed, exit code 2
>>>
>>> Any assistance in helping me compile this is appreciated.
>>>
>>
>> Tightvnc isn't working right now on 10.5.
>
> It failed for me on 10.4/ppc (apple's x11) also. I just committed
> 1.3.8-3, which "builds for me". Would be good to test-build it on
> 10.5/ppc and especially on 10.[45]/i386...it appears to have some asm,
> so different CPU may require more work by someone with access to those
> machines.
Doesn't build on 10.5/Intel:
gcc -c -O2 -ansi -Dasm=__asm -I. -I../mi -I../include -I../../.././/
exports/include/X11 -I../../.././/include/fonts -I../../.././ -
I../../.././/exports/include -DCSRG_BASED -DSHAPE
-DGCCUSESGAS -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -
DMFBTEGLYPHBLT=mfbTEGlyphBltWhite -DOP=MFB_OP_WHITE -
DCLIPTETEXT=mfbImageGlyphBltWhite mfbtewhite.c
mfbtewhite.c: In function 'mfbTEGlyphBltWhite':
mfbtewhite.c:235: error: nested functions are disabled, use -fnested-
functions to re-enable
mfbtewhite.c:235: error: syntax error before 'char1'
mfbtewhite.c:317: error: 'char1' undeclared (first use in this function)
mfbtewhite.c:317: error: (Each undeclared identifier is reported only
once
mfbtewhite.c:317: error: for each function it appears in.)
mfbtewhite.c:317: error: 'glyphPointer' undeclared (first use in this
function)
mfbtewhite.c:318: error: 'char2' undeclared (first use in this function)
mfbtewhite.c:319: error: 'char3' undeclared (first use in this function)
mfbtewhite.c:320: error: 'char4' undeclared (first use in this function)
make[3]: *** [mfbtewhite.o] Error 1
make[2]: *** [mfb] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
Enabling -fnested-functions doesn't help, it still gets "syntax error
before 'char1'" etc.
Daniel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners