I had a few spare minutes on my hands at work this afternoon, so I
decided to fire up a build of the XEmacs packages from the latest CVS
sources on a SunOS-5.5 box. I build the packages regularly on my Linux
box at home, but I haven't recently built the packages under SunOS.
I'm getting the following failure in comm/eicq:
make[2]: Entering directory `/u/shelton/new/build/SunOS-5.5/xemacs-packages-2001
-03-04/comm/eicq'
g++ -o udp2tcp udp2tcp.cc -O2 -Wall -static
udp2tcp.cc: In function `int main(int, char **)':
udp2tcp.cc:341: passing `size_t *' as argument 3 of `accept(int, sockaddr *, int
*)' changes signedness
make[2]: *** [udp2tcp] Error 1
make[2]: Leaving directory
`/u/shelton/new/build/SunOS-5.5/xemacs-packages-2001-03-04/comm/eicq'
make[1]: *** [eicq/bindist.target] Error 2
make[1]: Leaving directory `/u/shelton/new/build/SunOS-5.5/xemacs-packages-2001-
03-04/comm'
make: *** [comm/bindist.target] Error 2
Holy signed/unsigned conversion, Batman!
After hacking that in the sources, I had to make the following changes
to the link command:
I had to add '-lsocket -lnsl -lresolv -ldl'.
I had to remove -static, because resolv and dl are not available in
static form.
This enabled me to proceed. It seems that it will be necessary to
have a configure script in the comm/eicq directory in order to build
udp2tcp.
- vin
--
In a minute there is time
For decisions and revisions which a minute will reverse. T.S. Eliot
[URL:
http://www.cs.amherst.edu/~ccm/prufrock.html]