|
On Fri, 14 Mar 2008, Brian McKee wrote:
This version (copy and paste of a screen) looks a little more readable.... (see below)
It looks like it is still getting messed up:
/usr/local/include/tn5250/utility.h:36: error: expected ‘=’,‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘!’ token
etc.
But I think your real problem might have something to do with the way socket support is checked. Can you tell me where you got the tn5250 source? Did you get it from CVS or an official tarball?
Someone else reported similar errors on Solaris and I made some quick changes to see if it would fix it. Would you try building tn5250 using the following tarball:
http://www.chowhouse.com/~james/tn5250.tar.gz
Then build x5250. If that works for you I'll update CVS.
checking for getopt.h... yes
checking tn5250.h usability... no
checking tn5250.h presence... yes
configure: WARNING: tn5250.h: present but cannot be compiled
configure: WARNING: tn5250.h: check for missing prerequisite headers?
configure: WARNING: tn5250.h: see the Autoconf documentation
configure: WARNING: tn5250.h: section "Present But Cannot Be Compiled"
configure: WARNING: tn5250.h: proceeding with the preprocessor's result
configure: WARNING: tn5250.h: in the future, the compiler will take precedence
configure: WARNING: ## -------------------------------- ##
configure: WARNING: ## Report this to james@xxxxxxxxxxx ##
configure: WARNING: ## -------------------------------- ##
checking for tn5250.h... yes
checking for an ANSI C-conforming const... yes
checking sys/select.h usability... yes
bmckee@test3:~/Desktop/x5250-0.5.2-pre3$ make
make all-recursive
make[1]: Entering directory `/home/bmckee/Desktop/x5250-0.5.2-pre3'
Making all in src
make[2]: Entering directory `/home/bmckee/Desktop/x5250-0.5.2-pre3/ src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../bitmaps -DDATADIR=\"/usr/local/share\" -g -O2 -MT alloccolors.o -MD -MP -MF ".deps/alloccolors.Tpo" -c -o alloccolors.o alloccolors.c; \
then mv -f ".deps/alloccolors.Tpo" ".deps/alloccolors.Po"; else rm -f ".deps/alloccolors.Tpo"; exit 1; fi
In file included from /usr/local/include/tn5250.h:33,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/utility.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘!’ token
/usr/local/include/tn5250/utility.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tn5250_char_map_to_remote’
/usr/local/include/tn5250/utility.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tn5250_char_map_to_local’
/usr/local/include/tn5250/utility.h:90: error: expected declaration specifiers or ‘...’ before ‘Tn5250Char’
/usr/local/include/tn5250/utility.h:91: error: expected declaration specifiers or ‘...’ before ‘Tn5250Char’
In file included from /usr/local/include/tn5250.h:36,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/field.h:80: error: expected specifier- qualifier-list before ‘Tn5250Uint16’
In file included from /usr/local/include/tn5250.h:41,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/stream.h:84: error: expected declaration specifiers or ‘...’ before ‘SOCKET_TYPE’
/usr/local/include/tn5250/stream.h:99: error: expected specifier- qualifier-list before ‘SOCKET_TYPE’
/usr/local/include/tn5250/stream.h:129: error: expected ‘)’ before ‘masterSock’
In file included from /usr/local/include/tn5250.h:45,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/terminal.h:151: error: expected specifier- qualifier-list before ‘SOCKET_TYPE’
In file included from /usr/local/include/tn5250.h:47,
from x5250.h:34,
from alloccolors.c:26:
/usr/local/include/tn5250/printsession.h:55: error: expected declaration specifiers or ‘...’ before ‘SOCKET_TYPE’
make[2]: *** [alloccolors.o] Error 1
make[2]: Leaving directory `/home/bmckee/Desktop/x5250-0.5.2-pre3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bmckee/Desktop/x5250-0.5.2-pre3'
make: *** [all] Error 2
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.