Re: New Patches for SCO OpenServer 5.0.X and UnixWare 7.1.X and OpenUNIX 8.0.0
Boyd Lynn Gerber <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 9 May 2003, Derek Robert Price wrote: > Boyd Lynn Gerber wrote: > > >Here are some patches that will not effect non SCO OS's. These have to be > >applied to compile on the OS's in the Subject line. The previous ones > >posted could make problems on other OS's. > > > >tt, > > > > > > I checked in a fix, but not the one you suggested. Would you mind > pulling down either the feature branch (TRUNK) or the stable branch > (cvs1-11-x-branch) and letting me know if you can compile? I pulled the stable branch and this is what I get. Configure thinks that there is a S_ISSOCK but there is not. Some where it has to be defined. gcc -g -O2 -o cvs add.o admin.o annotate.o buffer.o checkin.o checkout.o classify.o client.o commit.o create_adm.o cvsrc.o diff.o edit.o entries.o error.o expand_path.o fileattr.o filesubr.o find_names.o hardlink.o hash.o history.o ignore.o import.o lock.o log.o log-buffer.o login.o logmsg.o main.o mkmodules.o modules.o myndbm.o no_diff.o parseinfo.o patch.o rcs.o rcscmds.o recurse.o release.o remove.o repos.o root.o rsh-client.o run.o scramble.o server.o socket-client.o status.o subr.o tag.o update.o version.o vers_ts.o watch.o wrapper.o zlib.o ../d iff/libdiff.a ../lib/libcvs.a ../zlib/libz.a -lsocket -lnsl Undefined first referenced symbol in file S_ISSOCK buffer.o cvs: fatal error: Symbol referencing errors. No output written to cvs collect2: ld returned 1 exit status make[2]: *** [cvs] Error 1 make[2]: Leaving directory `/usr/zenez/build/osr5/ccvs/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/zenez/build/osr5/ccvs' make: *** [all] Error 2 This is the same error I was getting before. S_ISSOCK is in a few files and does not have any definition. That is why I made the changes to system.h I found that the change I sent only worked with the Native compilers. This change now works with both gcc and cc. #if defined(_SCO_DS) # ifndef S_ISSOCK # define S_ISSOCK S_ISNAM # endif #endif This is needed for SCO OpenServer 5.0.6a and 5.0.7. UnixWare 7.1.1 UnixWare 7.1.2 and UnixWare 7.1.3. OpenUNIX 8.0.0 also needs it. I noticed that with the cvs version I also have problems on UnixWare and OpenUNIX with the following. gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../diff -I../zlib -g -O2 -c `test -f 'buffer.c' || echo './'`buffer.c buffer.c: In function `buf_initialize': buffer.c:51: structure has no member named `_shutdown' buffer.c: In function `buf_shutdown': buffer.c:1206: structure has no member named `_shutdown' buffer.c:1207: structure has no member named `_shutdown' buffer.c: In function `stdio_buffer_get_file': buffer.c:1257: structure has no member named `_shutdown' make[2]: *** [buffer.o] Error 1 make[2]: Leaving directory `/home/build/ou8/ccvs/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/build/ou8/ccvs' make: *** [all] Error 2 I do not see this on cvs-1.11. I just checked cvs-1.11.5 and it has the same problem as the ccvs version. It too has the same problem as the OpenServer mentioned above with the addition of that above. Thanks, -- Boyd Gerber <[email protected]> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047