kishore,
Here's section 7.2 from the manual:
7.2 Problem Reports
Problem reports in the following categories should include a log file
as indicated in the table below:
`./configure'
A problem with the configuration process occurs that causes the
`./configure' command to fail. The problem report must include
the config.log file that was generated by configure.
`make compile.log'
A problem with the build process occurs that causes the `make'
command to fail. Perform `make clean' and then `make
compile.log' and attach the config.log and compile.log files to
the problem report.
`make check.log'
A problem occurs with the `make check' target that causes it to
fail. Perform `make check-clean check.log' and attach the
config.log, compile.log and check.log files to the problem
report.
`sudo make install.log'
A problem occurs with `sudo make install' that causes it to
fail. Perform `sudo make uninstall' and `sudo make install.log'
and attach the config.log, compile.log, check.log, and
install.log files to the problem report.
`[sudo] make installcheck'
A problem occurs with the `make installcheck' target that
causes the test suite to fail. Attach the resulting
tests/testsuite.log file to the problem report. There is no
need to attach the other files as they are included in
tests/testsuite.log.
For other problems that occur during the use of the Linux Fast-STREAMS
package, please write a test case for the test suite that recreates
the problem if one does not yet exist and provide a test program patch
with the problem report. Also include whatever log files are generated
by the kernel (cmn_err(9)) or by the strerr(8) or strace(1) facilities
(strlog(9)).
--brian
On Fri, 10 Mar 2006, Brian F. G. Bidulock wrote:
> kishore,
>
> On Fri, 10 Mar 2006, kishore wrote:
>
> > hello,
> >
> > I . LiS-2.18.2.tar.bz2
> > ----------------------
> > Used openss7 packages : LiS-2.18.2.tar.bz2, strcompat-0.9.2.2.tar.bz2.
> > Redhat-release : Red Hat Enterprise Linux ES release 4
> > (Nahant Update 2)
> > More information : Linux localhost.localdomain 2.6.9-22.EL #1
> > Mon Sep 19 18:20:28 EDT 2005 i686
> > i686 i386
> > GNU/Linux
> >
> > I tried with the above specified linux distribution.
> > I used above versions of streams related packages but am
> > not able compile strcompat -0.9.2.2. can anyone suggest,
> > how to overcome the compilation problems.
>
> strcompat defaults to building against streams-0.7a.4 (the STREAMS that
> works). To compile it against LiS (that crashes), pass --with-lis to
> configure: e.g.
>
> wget http://www.openss7.org/tarballs/strcompat-0.9.2.2.tar.gz
> tar -xzvf strcompat-0.9.2.2.tar.gz
> cd strcompat-0.9.2.2
> ./configure --with-lis
> make compile.log
> sudo make install.log
> sudo make uninstall.log
> cd ..
> rm -rf strcompat-0.9.2.2*
>
> For future reference, giving the last error: lines of failed make provides
> almost no information. The first error: line is the significant one. So,
> in the future, type
>
> make compile.log
>
> and if it fails, mail me the compile.log or a least the first error lines
> of the failed make instead of the last.
>
> Also, the make output is usually useless without seeing the config.log
> file that resulted from calling ./configure
>
> So, in the future, if you have a problem, email me config.log, ...
> ..well... why don't you read section "7.2 Problem Reports" in the
> manual as in:
>
> wget http://www.openss7.org/tarballs/strcompat-0.9.2.2.tar.gz
> tar -xzvf strcompat-0.9.2.2.tar.gz
> cd strcompat-0.9.2.2
> less doc/manual/strcompat.html
>
> more below...
>
> >
> > last 25 lines of make result is as follows :
> >
> > src/kernel/os7compat.c:123: warning: type defaults to `int' in declaration
> > of `ss7_bufsrv'
> > src/kernel/os7compat.c:123: warning: data definition has no type or storage
> > class
> > src/kernel/os7compat.c: In function `ss7_unlockq':
> > src/kernel/os7compat.c:303: error: dereferencing pointer to incomplete type
> > src/kernel/os7compat.c:309: error: dereferencing pointer to incomplete type
> > src/kernel/os7compat.c: At top level:
> > src/kernel/os7compat.c:568: error: syntax error before "ss7_oput"
> > src/kernel/os7compat.c:569: warning: return type defaults to `int'
> > src/kernel/os7compat.c:585: error: syntax error before "ss7_osrv"
> > src/kernel/os7compat.c:586: warning: return type defaults to `int'
> > src/kernel/os7compat.c:606: error: syntax error before "ss7_iput"
> > src/kernel/os7compat.c:607: warning: return type defaults to `int'
> > src/kernel/os7compat.c:623: error: syntax error before "ss7_isrv"
> > src/kernel/os7compat.c:624: warning: return type defaults to `int'
> > src/kernel/os7compat.c:645: error: syntax error before '*' token
> > src/kernel/os7compat.c:645: error: `streamscall' declared as function
> > returning a function
> > src/kernel/os7compat.c:645: warning: function declaration isn't a prototype
> > src/kernel/os7compat.c:651: error: syntax error before '*' token
> > src/kernel/os7compat.c:651: error: `streamscall' declared as function
> > returning a function
> > src/kernel/os7compat.c:651: warning: function declaration isn't a prototype
> > make[2]: *** [libCOMPATmods_a-os7compat.o] Error 1
> > make[2]: Leaving directory `/usr/src/strcompat-0.9.2.2'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/strcompat-0.9.2.2'
> > make: *** [all] Error 2
> >
> > II : streams-0.7a.4.tar
> > -----------------------
> > Used openss7 packages : streams-0.7a.4.tar.
> > Redhat-release : Red Hat Enterprise Linux ES release 4
> > (Nahant Update 2)
> > More information : Linux localhost.localdomain 2.6.9-22.EL #1
> > Mon Sep 19 18:20:28 EDT 2005 i686
> > i686 i386
> > GNU/Linux
>
> Missing file from the distribution. However, send me your config.log: you
> should not be having this problem unless you are passing some arguments to
> ./configure such as --enable-maintainer-mode. If you are doing that, don't.
> Or, do "touch tests/testsuite-admin.at" in the head source directory in
> advance. Like:
>
> wget http://www.openss7.org/tarballs/streams-0.7a.4.tar.bz2
> tar -xjvf streams-0.7a.4.tar.bz2
> pushd streams-0.7a.4
> touch tests/testsuite-admin.at
> ./configure --enable-maintainer-mode
> make compile.log
> sudo make install.log
> sudo make uninstall.log
> popd
> rm -rf streams-0.7a.4*
>
> Again, read "7.2 Problem Reports" as in:
>
> wget http://www.openss7.org/tarballs/streams-0.7a.4.tar.bz2
> tar -xjvf streams-0.7a.4.tar.bz2
> less doc/manua/STREAMS.html
> /Problem/
>
> I really need to see your config.log and compile.log files when you report
> problems like this.
>
> --brian
>
> >
> > I came across an error, while compiling streams-0.7a.4, itself .
> >
> > few lines of make file result are as follows :
> > make all-recursive
> > make[1]: Entering directory `/usr/src/streams-0.7a.4'
> > Making all in include
> > make[2]: Entering directory `/usr/src/streams-0.7a.4/include'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory `/usr/src/streams-0.7a.4/include'
> > Making all in .
> > make[2]: Entering directory `/usr/src/streams-0.7a.4'
> > make[2]: Nothing to be done for `all-am'.
> > make[2]: Leaving directory `/usr/src/streams-0.7a.4'
> > Making all in tests
> > make[2]: Entering directory `/usr/src/streams-0.7a.4/tests'
> > /usr/bin/autom4te --language=autotest -I . testsuite.at -o testsuite
> > testsuite.at:137: /usr/bin/m4: Cannot open testsuite-admin.at: No such file
> > or d
> > irectory
> > autom4te: /usr/bin/m4 failed with exit status: 1
> > make[2]: *** [testsuite] Error 1
> > make[2]: Leaving directory `/usr/src/streams-0.7a.4/tests'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/streams-0.7a.4'
> > make: *** [all] Error 2
> >
> >
> > I made selinux disabled ( using /etc/selinux/config file ) in my system.
> > Thanks in advance.
> >
> > regards,
> > kishore, packetware.
> >
> >
>
> --
> Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
> [EMAIL PROTECTED] ¦ world; the unreasonable one persists in ¦
> http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
> ¦ Therefore all progress depends on the ¦
> ¦ unreasonable man. -- George Bernard Shaw ¦
> _______________________________________________
> Linux-streams mailing list
> [email protected]
> http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
[EMAIL PROTECTED] ¦ world; the unreasonable one persists in ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
_______________________________________________
Linux-streams mailing list
[email protected]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams