Commit Graph

46 Commits

Author SHA1 Message Date
Joel Sherrill
9d16b9c3f0 2005-05-26 Joel Sherrill <joel@OARcorp.com>
* libnetworking/lib/ftpfs.c, librpc/include/rpc/svc.h,
	librpc/src/rpc/get_myaddress.c, librpc/src/rpc/pmap_getmaps.c,
	librpc/src/rpc/pmap_getport.c: Remove warnings.
2005-05-27 00:37:13 +00:00
Ralf Corsepius
9dcab59b1a Use void* instead of caddr_t. Cosmetics from FreeBSD. 2005-05-25 17:17:14 +00:00
Ralf Corsepius
18b1aa4a95 Reflect removing auth_des.h. 2005-05-25 15:23:22 +00:00
Ralf Corsepius
342fa58ae4 Remove (Unused, unsupported). 2005-05-25 15:22:45 +00:00
Ralf Corsepius
12db3bda88 Misc. fixes. 2005-05-25 15:07:19 +00:00
Ralf Corsepius
c11cb9a5a9 More updates from FreeBSD. 2005-05-25 13:56:50 +00:00
Ralf Corsepius
fd6a994ee7 More updates from FreeBSD. 2005-05-25 13:02:40 +00:00
Ralf Corsepius
b3da5b17a1 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/svc.h: Partial update from FreeBSD.
2005-05-25 12:25:50 +00:00
Ralf Corsepius
50e3b3f065 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt.h: Partial update from FreeBSD.
2005-05-25 11:33:47 +00:00
Ralf Corsepius
a8ad6a001f New. 2005-05-25 10:05:42 +00:00
Ralf Corsepius
9d770ab58c Remove (Unused, unsupported) 2005-05-25 09:48:27 +00:00
Ralf Corsepius
8ba22b546d Remove (Unused, unsupported). 2005-05-25 09:40:15 +00:00
Ralf Corsepius
94c76bc730 Cosmetical update from FreeBSD. 2005-05-10 08:56:01 +00:00
Ralf Corsepius
2538e7ae0d 2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt_stat.h, librpc/include/rpc/rpcent.h:
	New (From FreeBSD).
	* librpc/include/rpc/rpc.h: Partial update from FreeBSD.
	* librpc/Makefile.am: Reflect changes above.
2005-02-03 16:26:35 +00:00
Ralf Corsepius
0c20a46dc0 2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/types.h: Partial update from FreeBSD.
	Use stdint.h types instead of sys/types.h.
	* librpc/src/rpc/bindresvport.c: Partial update from FreeBSD.
2005-02-03 15:58:18 +00:00
Joel Sherrill
77b6a10913 2005-01-09 Joel Sherrill <joel@oarcorp.com>
* librpc/include/rpc/clnt.h, librpc/src/rpc/authunix_prot.c,
	librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/pmap_prot2.c,
	librpc/src/rpc/pmap_rmt.c, librpc/src/rpc/rtems_portmapper.c,
	librpc/src/rpc/svc_simple.c: Fix warnings.
2005-01-09 17:12:03 +00:00
Ralf Corsepius
dab2d6ebae 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/auth_des.h, librpc/include/rpc/xdr.h,
	librpc/src/rpc/auth_des.c, librpc/src/rpc/auth_unix.c,
	librpc/src/rpc/rpc_prot.c, librpc/src/xdr/xdr.c:
	Misc. ansi-fications, misc. updates from FreeBSD.
2005-01-08 06:01:35 +00:00
Ralf Corsepius
c9165ef085 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/xdr.h: Remove questionable comments.
	* librpc/include/rpc/auth.h: Remove __P, ansi-fy.
	* librpc/src/rpc/auth_none.c: Reflect changes above.
	Partial update from FreeBSD.
2005-01-07 11:22:50 +00:00
Ralf Corsepius
8faf4bd531 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/svc.h, librpc/include/rpc/xdr.h:
	Remove __P(xx).
2005-01-07 07:46:15 +00:00
Ralf Corsepius
5220ae2f71 2004-11-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/types.h: Include <rtems/stdint.h>.
	* librpc/src/rpc/clnt_raw.c, librpc/src/rpc/rpcdname.c,
	librpc/src/rpc/rtems_portmapper.c, librpc/src/rpc/svc.c,
	librpc/src/rpc/svc_simple.c: Misc. cast-related fixes.
	Convert to ANSI.
2004-11-21 05:33:00 +00:00
Ralf Corsepius
ddb56f497d 2004-11-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/rpc.h (struct _rtems_rpc_task_variables):
	Use pointers to types instead of void* to avoid casts.
	* librpc/src/rpc/clnt_perror.c, librpc/src/rpc/clnt_raw.c,
	librpc/src/rpc/clnt_simple.c, librpc/src/rpc/rpcdname.c,
	librpc/src/rpc/svc.c, librpc/src/rpc/svc_auth.c,
	librpc/src/rpc/svc_simple.c:
	Eliminate lvalue casts gcc-3.4 warns about.
2004-11-21 04:45:39 +00:00
Ralf Corsepius
9929e2d231 2004-10-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* score/src/coremsg.c: Eliminate unsigned32.
	* score/include/rtems/system.h: Set __RTEMS_REVISION__ to 99.
	* librpc/include/rpc/xdr.h: Use elipsis in xdrproc_t prototype.
2004-10-29 10:38:40 +00:00
Eric Norum
4db99d8aa1 No kernel/user distinction. 2004-10-25 19:22:07 +00:00
Ralf Corsepius
9532e55573 Remove stray white spaces. 2004-04-15 13:41:26 +00:00
Ralf Corsepius
3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Ralf Corsepius
d16b2d3548 2003-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rpc/rpc.hinclude/rpc/rpc.h: Rename struct
	rtems_rpc_task_variables into struct _rtems_rpc_task_variables
	(Avoid symbol conflict between struct and variable).
	struct _rtems_rpc_task_variables *rtems_rpc_task_variables;
	Reflect changes above.
	* src/rpc/clnt_perror.c, src/rpc/clnt_raw.c, src/rpc/clnt_simple.c,
	src/rpc/rpcdname.c, src/rpc/rtems_rpc.c, src/rpc/svc.c,
	src/rpc/svc_auth.c, src/rpc/svc_raw.c, src/rpc/svc_simple.c:
	Reflect changes above.
2003-11-27 09:35:40 +00:00
Ralf Corsepius
27a78054d6 2003-09-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Merge-in include/Makefile.am.
	* include/Makefile.am: Remove.
2003-09-24 07:49:21 +00:00
Ralf Corsepius
7094267f6c 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove (Merged-in into ../configure.ac)
	* Makefile.am, include/Makefile.am, src/Makefile.am,
	src/rpc/Makefile.am, src/xdr/Makefile.am:
	 Reflect having merged configure.ac into ../configure.ac.
2003-07-08 17:32:18 +00:00
Ralf Corsepius
6deb2f18ab 2002-07-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/rpc/Makefile.am: Merge src/rpc/PSD.doc/Makefile.am.
	* include/Makefile.am: Merge include/rpc/Makefile.am.
	Merge include/rpcsvc/Makefile.am.
	* include/rpc/Makefile.am: Remove.
	* include/rpcsvc/Makefile.am: Remove.
	* src/rpc/PSD.doc/Makefile.am: Remove.
	* configure.ac: Remove duplicate AC_PROG_RANLIB.
	Remove include/rpc/Makefile.
	Remove include/rpcsvc/Makefile.
	Remove src/rpc/PSD.doc/Makefile.
2002-07-30 09:12:33 +00:00
Ralf Corsepius
abc116768a 2002-06-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_TOP(../../../..).
	AC_CONFIG_AUX_DIR(../../../..).
	Remove RTEMS_CANONICAL_HOST.
	Use RTEMS_ENV_RTEMSCPU.
	Add AC_PROG_RANLIB.
	* include/rpc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* include/rpcsvc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	ACLOCAL_AMFLAGS = -I ../aclocal.
	* src/rpc/PSD.doc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/rpc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/xdr/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-25 17:41:49 +00:00
Joel Sherrill
00a9ac1d59 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/rpc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/rpcsvc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/rpc/PSD.doc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/rpc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/xdr/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:50 +00:00
Joel Sherrill
e747aaf843 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rpc/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:34:27 +00:00
Joel Sherrill
8887f8cd6d 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rpc/Makefile.am: Apply include_*HEADERS instead of
	H_FILES.
2001-02-05 18:38:44 +00:00
Joel Sherrill
09a6eba19d Corrected prototype for xdrrec_endofrecord to match C body. 2000-06-29 22:34:30 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
f3c096a312 Added on 4.5-branch 2000-05-01 14:57:46 +00:00
Joel Sherrill
87ec19a398 New files added as part of librpc upgrade. 2000-04-29 19:13:19 +00:00
Joel Sherrill
775e78644e New directory added as part of librpc upgrade. 2000-04-29 18:50:41 +00:00
Joel Sherrill
bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill
9f4868cea9 Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
1999-11-23 13:57:02 +00:00
Joel Sherrill
9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Joel Sherrill
811804fec8 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bug
where wrapup left pieces out of the librtemsall.a.
1999-10-04 19:15:14 +00:00
Joel Sherrill
5a83ba24bd Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The patch below actuallly consists of two patches:
1) moving librpc to c/src/librpc similar to what has been done to librtems++
2) reworked configure scripts, many safety and dependency checks added to
aclocal/*.m4 macros + configuration fixes.

To apply:

mkdir c/src/librpc
mkdir c/src/librpc/src
cp c/src/lib/librpc/*.c c/src/librpc/src
cp c/src/lib/librpc/Makefile.in c/src/librpc/src
mkdir c/src/librpc/include
mkdir c/src/librpc/include/rpc
cp c/src/lib/include/rpc/* c/src/librpc/include/rpc
patch -p1 < ../rtems-rc-19990820-7.diff
rm -rf c/src/lib/librpc
rm -rf c/src/lib/include/rpc
./autogen

The additional checks in aclocal/*m4 macros add rather restrictive, sometimes
unnecessarily restrictive constraints on the sequence of how macros can be
used in a configure.in script. Adding them has let my problems with some more
complicated configuration options vanish. Apparently some macros had not been
in the required order .

----

Now I still get some linking errors for some cpus and bsps, esp when linking
cdtest, but also at other locations:

e.g. this happens for mips64orion/p4600:

# make[5]: Entering directory
`/lfs/poseidon/users/rtems/src/multi/build/mips64orion-rtems/c/p4600/tests/samples/hello'

/opt/rtems/bin/mips64orion-rtems-gcc --pipe -B../../../../../../p4600/lib/
-specs bsp_specs -qrtems -DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
-mcpu=4600 -G0   -I../../../../../../p4600/lib/include/networking  -g -Wall
-ansi -fasm  -O4 -fomit-frame-pointer     -o o-p4600/hello.exe
o-p4600/init.o ../../../../../../p4600/lib/no-dpmem.rel
../../../../../../p4600/lib/no-event.rel
../../../../../../p4600/lib/no-msg.rel ../../../../../../p4600/lib/no-mp.rel
../../../../../../p4600/lib/no-part.rel
../../../../../../p4600/lib/no-signal.rel
../../../../../../p4600/lib/no-timer.rel
../../../../../../p4600/lib/no-rtmon.rel
/opt/rtems/mips64orion-rtems/lib/libc.a(dtoa.o): In function `_dtoa_r':
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
collect2: ld returned 1 exit status

# mips64orion-rtems-gcc -v
Reading specs from /opt/rtems/lib/gcc-lib/mips64orion-rtems/2.95.1/specs
gcc version 2.95.1 19990816 (release)

# mips64orion-rtems-ld -v
GNU ld version 2.9.5 (with BFD 2.9.5)
1999-10-04 18:33:17 +00:00
Joel Sherrill
e1d8abbe28 Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's.  This added a lot of files.
1999-09-07 13:45:03 +00:00
Joel Sherrill
4721cf1ecb Patch from Emmanuel Raguet <raguet@crf.canon.fr> to add remote debug server
and RPC support to RTEMS.  Thanks. :)  Email follows:

    Hello,

    For Xmas, here is the Remote Debugger on RTEMS !

    Here are 2 patches for the Remote Debugger on RTEMS for pc386 from Linux
    host :

     - one for RTEMS it self,
     - one for GDB-4.17.


    1/ RTEMS patch
    --------------

    This patch adds 2 libraries :
     - a simplified SUN RPC library
     - the Remote Debugger library

    The configuration command is the following :
    ../rtems4/configure --target=i386-rtemself --enable-rtemsbsp=pc386
    --enable-rdbg

    The SUN RPC library is built only if networking is set.
    The RDBG library is built if networking and enable-rdbg are set.

    The function used to initialize the debugger is :
            rtems_rdbg_initialize ();

    A special function has been created to force a task to be
    in a "debug" state : enterRdbg().
    The use of this function is not mandatory.



    2/ GDB-4.17 patch
    -----------------

    This patch create a new RTEMS target for GDB-4.17.

    The configuration command is the following :
    ./configure --enable-shared --target=i386RTEMS

    To connect to a target, use :
      target rtems [your_site_address]

    Then, attach the target using : attach 1

    And... Debug ;)

    You can obtain the original GDB-4.17 on
    ftp://ftp.debian.org/debian/dists/stable/main/source/devel/gdb_4.17.orig.tar.gz

    This has been tested from a Debian 2.0.1 linux host.
1998-12-03 23:54:14 +00:00