Compiling Tcsh 6.02 with gcc 2.2.2 under SunOS 4.1.1?

Compiling Tcsh 6.02 with gcc 2.2.2 under SunOS 4.1.1?

Post by Jason L Tibbitts I » Thu, 30 Jul 1992 12:01:12



I'm pretty sure this has been discussed many times recently, but it's not
in any of the FAQ's and I couldn't find any pertinent articles, so...

When making tcsh 6.02 recently obtained from ee.cornell.edu, I get the
following:

XYX:karazm:~/work/tcsh-6.02> make
gcc -Wall -c -O2 -I. -I..  sh.c
sh.c:95: `STRdirfile' undeclared, outside of functions
sh.c: In function `main':
sh.c:1016: `STRsldtdirs' undeclared (first use this function)
sh.c:1016: (Each undeclared identifier is reported only once
sh.c:1016: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `sh.o'

Config.h is config/config.sunos41 and the makefile is unmodified.  There is
a very noticable pause between the last sh.c:1016... line and the *** Error
code 1 line.

I would attribute this to one of gcc 2.2.2's many problems but I don't
know what they all are.

Any help is appreciated.  Thanks,
--

System Administrator: University of Houston Mathematics Department

Blob Shop Programmers: Database consulting and graphics programming

 
 
 

Compiling Tcsh 6.02 with gcc 2.2.2 under SunOS 4.1.1?

Post by Stew Ell » Thu, 06 Aug 1992 01:32:48



>I'm pretty sure this has been discussed many times recently, but it's not
>in any of the FAQ's and I couldn't find any pertinent articles, so...
>When making tcsh 6.02 recently obtained from ee.cornell.edu, I get the
>following:
>XYX:karazm:~/work/tcsh-6.02> make
>gcc -Wall -c -O2 -I. -I..  sh.c
>sh.c:95: `STRdirfile' undeclared, outside of functions
>sh.c: In function `main':
>sh.c:1016: `STRsldtdirs' undeclared (first use this function)
>sh.c:1016: (Each undeclared identifier is reported only once
>sh.c:1016: for each function it appears in.)
>*** Error code 1
>make: Fatal error: Command failed for target `sh.o'
>Config.h is config/config.sunos41 and the makefile is unmodified.  There is
>a very noticable pause between the last sh.c:1016... line and the *** Error
>code 1 line.
>I would attribute this to one of gcc 2.2.2's many problems but I don't
>know what they all are.
>Any help is appreciated.  Thanks,
>--

>System Administrator: University of Houston Mathematics Department

>Blob Shop Programmers: Database consulting and graphics programming

I do not remember all of the details, but with SunOS 4.1.2 and standard
bundled Sun C, I got some kind of undefined something or other error when I
tried to compile tcsh 6.02 from inside Jove using the compile-it function.
When I ran make straight from the command line there were no problems.
You mileage may vary.

--
--                                                        ___________________
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765  /   _____  ______
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.   /        / /  /  / /


 
 
 

1. Help with compiling tcsh 6.02

     Dear tcsh guru

I apologize if this has been asked before. While compiling tcsh 6.02
(patchlevel 0 dated 92/05/15 Cornell) on a PS/2 (model 80) using
 IBM AIX ver 1.2.1:

     [Stuff deleted]
        cc -c -I. -O                      tc.os.c
IBM AIX PS/2 C Language - Version 1.1
5713-AFC  (C) COPYRIGHT IBM CORP. 1988
LICENSED MATERIAL - PROGRAM PROPERTY OF IBM

  9112.                 pp = pfind(cp);<<<<<
***** Warning number 508 in line 481 of file tc.os.c *****
***** Illegal integer/pointer combination *****

        rm -f tcsh core
        cc  -I. -O                       sh.o sh.dir.o sh.dol.o sh.err.o sh.exec.o sh.char.o
.... [Stuff deleted] tc.str.o  tc.vers.o tc.who.o  -o tcsh -lcurses -lbsd

undefined               first referenced
 symbol                     in file
pfind                           tc.os.o
ld fatal: Symbol referencing errors. No output written to tcsh
*** Error code 1

Stop.

Is it a known bug? Is there a patch(s)? If yes, how can I get it?

I prefer e-mail and I'll post a summary.

Many thanks,

--

121 Walnut Hill Road        |  
Newton, Massachusetts 02161 |UUCP: {...uunet}!think!eingedi!slerner

2. Firewall on SCO OSR5 ??

3. tcsh 6.02 problem on HP-UX

4. Programming Ping, help?

5. Any known bugs for tcsh (6.02)

6. Using Linux kernel modules?

7. Experiences eith tcsh 6.02 on Apollo with SR10.4

8. Notification Manager Needed

9. Echo in TCSH (6.02)

10. Patches and config files for tcsh 6.02 on DEC OSF/1 for Alpha

11. VideoCard in BlackCat 6.02

12. Trio 3D/2X SVGA to Red Hat 6.02

13. Strange opera 6.02 problem on 3.1