Re: [Cpu-users] porting cpu to solaris
Brought to you by:
matheny
|
From: Blake M. <bma...@pu...> - 2003-10-16 16:08:47
|
Hi Greg, Did these changes make running CPU under Solaris possible? -Blake Whatchu talkin' 'bout, Willis? > as a newcomer to cpu let me first say, this software is great on linux. > > I've managed to compile it on solaris by providing a few libraries that > are required but when it is run I get a segfault: > > sidhean gmatt $ gdb cpu > GNU gdb 5.3 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "sparc-sun-solaris2.8"... > (gdb) run > Starting program: /usr/local/bin/cpu > > Program received signal SIGSEGV, Segmentation fault. > 0xff0b3ba4 in populateGlobals () at commandline.c:704 > 704 globalLdap->dn = buildDn ((operation > 2) ? GROUPADD : > USERADD, > (gdb) bt > #0 0xff0b3ba4 in populateGlobals () at commandline.c:704 > #1 0xff0b8c54 in CPU_init (argc=0, argv=0x0) at ldap.c:60 > #2 0x00010b34 in main (argc=1, argv=0xffbefa34) at cpu.c:95 > (gdb) > > I changed bitvector.h to use inttypes.h instead of stdint.h and > provided: > features.h > bits/wchar.h > bits/wordsize.h > sys/cdefs.h > gnu/stubs.h > for compilation I used gcc3.2.2. > > I saw a couple of requests on the archives about solaris but no > confirmation of anyone running it. > > GREG > -- > Greg Matthews > iTSS Wallingford 01491 692445 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Cpu-users mailing list > Cpu...@li... > https://lists.sourceforge.net/lists/listinfo/cpu-users -- Blake Matheny "... one of the main causes of the fall of the bma...@pu... Roman Empire was that, lacking zero, they had http://www.mkfifo.net no way to indicate successful termination of http://ovmj.org/GNUnet/ their C programs." --Robert Firth |