Skip to content
Tcl Source Code Artifact [1229cd8a4e]
Login

Artifact [1229cd8a4e]

Artifact 1229cd8a4e2da51f3c91a9e71518775cdfe3fe2c:

Ticket change [1229cd8a4e] - New ticket [218292ffffffffff|218292ffff] <i>When compiling for Solaris 2.6, the Makefile must be hacked </i>. by nobody on 2000-10-26 00:55:47.
D 2000-10-26T00:55:47
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3510\sBug\nVersion:\s8.2.1\nSubmitDate:\s'1999-11-08'\nLastModified:\s'1999-11-08'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\sSunOS\s\s5.7\sGeneric_106541-02\ssun4u\ssparc\sSUNW,Ultra-5_10System\s=\nMachine:\sSun\sUltra-10\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-11-08'\n\n\nName:\nEric\sJ.\sMeyer\n\nComments:\nSolution:\s\sRemove\sbad\sswitches\sfrom\sAC_FLAGS\svariable\sin\sthe\sMakefile\sand\sadd\s"-lsocket"\sto\sthe\sMakefile\sLIBS\svariable.\n\nReproducibleScript:\n./unix/configure\s\n#\sGenerated\sautomatically\susing\sautoconf\sversion\s2.13\s\n\n1)\s\sThe\sconfigure\sscript\sreported\sthere\swas\sno\s"gettimeofday"\sfunction\sdefined\seven\sthough\sone\sexisted\sin\smy\s/usr/include/sys/time.h.\s\sThis\serroneously\sturns\son\sthe\s-DNO_GETTOD=1\sand\sthe\s\s-DGETTOD_NOT_DECLARED=1\sswitches\sin\sthe\sMakefile.\n\n2)\s\sThe\sconfigure\sscript\serroneously\sadds\sthe\s-DHAVE_NET_ERRNO_H=1\sswitch\seven\sthough\sthere\sis\sno\serrno.h\sfile\sin\smy\s/usr/include/net\sdirectory.\s\sThere\sis\san\serrno.h\sin\s/usr/include.\n\n3)\s\sThe\s"-lsocket"\slibrary\sswitch\sis\snot\sincluded\sin\sthe\sMakefile.\s\sI'm\snot\ssure\swhere\sconfigure\sdecides\sthis,\sbut\sit\slooks\sto\sbe\saround\sline\s3696.\n\nObservedBehavior:\n1)\s\sThe\sbad\s-DNO_GETTOD=1\sand\s-DGETTOD_NOT_DECLARED=1\sswitches\sin\sthe\sMakefile\scause\sthe\sfollowing\scompilation\serror:\n\n../generic/../unix/tclUnixPort.h:255:\sconflicting\stypes\sfor\s`gettimeofday'\n/usr/include/sys/time.h:389:\sprevious\sdeclaration\sof\s`gettimeofday'\n***\sError\scode\s1\nmake:\sFatal\serror:\sCommand\sfailed\sfor\starget\s`tclAlloc.o'\n\n2)\s\sThe\sbad\s-DHAVE_NET_ERRNO_H=1\sswitch\sin\sthe\sMakefile\scauses\sthe\sfollowing\scompilation\serror:\n\n../generic/../unix/tclUnixPort.h:42:\snet/errno.h:\sNo\ssuch\sfile\sor\sdirectory\nIn\sfile\sincluded\sfrom\s../generic/tclInt.h:30,\n\n3)\s\sThe\smissing\s"-lsocket"\scauses\sthe\sfollowing\slinker\serror:\n\ngcc\s-pipe\s\stclAppInit.o\s-L/cirrus/src/tcl8.2.1/unix\s-ltcl8.2\s-ldl\s\s-lm\s-lc\s\s-Wl,-R,/usr/local/lib\s-o\stclsh\nUndefined\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfirst\sreferenced\n\ssymbol\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sin\sfile\nsocket\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\ngetpeername\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\nrecv\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\ngethostbyname\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\naccept\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\nsend\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\nbind\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\nsetsockopt\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\ngetservbyname\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\ngethostbyaddr\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\ngetsockopt\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\ninet_addr\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\ninet_ntoa\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\ngetsockname\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\nlisten\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\nconnect\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s/cirrus/src/tcl8.2.1/unix/libtcl8.2.so\nld:\sfatal:\sSymbol\sreferencing\serrors.\sNo\soutput\swritten\sto\stclsh\ncollect2:\sld\sreturned\s1\sexit\sstatus\n***\sError\scode\s1\nmake:\sFatal\serror:\sCommand\sfailed\sfor\starget\s`tclsh'\n\nDesiredBehavior:\nI\sexpect\snot\sto\sget\sthe\scompilation\serrors\s;>\n\n\n\nThis\swas\sdue\sto\snot\susing\s'make\sdistclean'\sbetween\s2.7\sand\s2.6.\s\n--\s11/08/1999\shobbs
J foundin obsolete:\s8.2.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title When\scompiling\sfor\sSolaris\s2.6,\sthe\sMakefile\smust\sbe\shacked\s
J type Bug
K 218292ffffffffffffffffffffffffffffffffff
U nobody
Z 3227b2ecc6286ee6a9a8f280c0c3a305