cannot make pl1 - wrong stdlib.h?

cannot make pl1 - wrong stdlib.h?

Post by Framst » Thu, 22 Jul 1993 05:44:17



I cannot make pl11, I get the error:

(...)
gcc -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -x c++ -m486 -o tools/bui
ld tools/build.c
In file included from tools/build.c:25:
/usr/local/include/stdlib.h:312: `wchar_t' was not declared in this scope
/usr/local/include/stdlib.h:312: `__pwc' was not declared in this scope
/usr/local/include/stdlib.h:312: parse error before `,'
/usr/local/include/stdlib.h:315: warning: type specifier omitted for parameter
/usr/local/include/stdlib.h:315: parse error before `)'
/usr/local/include/stdlib.h:323: `wchar_t' was not declared in this scope
/usr/local/include/stdlib.h:323: `__pwcs' was not declared in this scope
/usr/local/include/stdlib.h:323: parse error before `,'
/usr/local/include/stdlib.h:325: parse error before `*'
make: *** [tools/build] Error 1

looks I have an old/wrong stdlib.h? What have I to do?

( I use gcc version 2.4.3 and libc.so.4.4.1 )

\  Ulli 'Framstag' Horlacher       \     psi%(0262)45050260103::orakel  \


   \  G=ulli;S=horlacher;OU=rz;P=uni-ulm;A=dbp;C=de    \   rzmain::orakel  \
    \  "With mainframes you just can do nonsense, with PCs not even that."  \

 
 
 

cannot make pl1 - wrong stdlib.h?

Post by Stephen Tweed » Fri, 23 Jul 1993 08:54:19



Quote:> I cannot make pl11, I get the error:
> (...)
> gcc -Wall -Wstrict-prototypes -O6 -fomit-frame-pointer -x c++ -m486 -o tools/bui
> ld tools/build.c
> In file included from tools/build.c:25:
> /usr/local/include/stdlib.h:312: `wchar_t' was not declared in this scope
> /usr/local/include/stdlib.h:312: `__pwc' was not declared in this scope
> /usr/local/include/stdlib.h:312: parse error before `,'
> /usr/local/include/stdlib.h:315: warning: type specifier omitted for parameter
> /usr/local/include/stdlib.h:315: parse error before `)'
> /usr/local/include/stdlib.h:323: `wchar_t' was not declared in this scope
> /usr/local/include/stdlib.h:323: `__pwcs' was not declared in this scope
> /usr/local/include/stdlib.h:323: parse error before `,'
> /usr/local/include/stdlib.h:325: parse error before `*'
> make: *** [tools/build] Error 1
> looks I have an old/wrong stdlib.h? What have I to do?
> ( I use gcc version 2.4.3 and libc.so.4.4.1 )

I saw much the same symptoms.  There is a proper stdlib.h in the gcc
local include directory - you shouldn't need
/usr/local/include/stdlib.h at all.  Apparently the order of searching
of include directories changed with gcc-2.4, so that this stdlib.h,
left there by an old libc distribution, has only started causing
problems.  I got everything working by just deleting the offending
stdlib.h file.

Cheers,
 Stephen.
---

Department of Computer Science, Edinburgh University, Scotland.

 
 
 

cannot make pl1 - wrong stdlib.h?

Post by Bryan M. Anders » Sat, 24 Jul 1993 13:51:25



>> /usr/local/include/stdlib.h:312: `wchar_t' was not declared in this scope

        ^^^^^
Say what???  What was stdlib.h doing in /usr/local/include?
It should be in the standard include place /usr/include.
Something is messed up here.  Likely a compiler or library was
installed incorectly.
--
Bryan M. Andersen


 
 
 

1. Upgrading from 0.96c pl1 to 0.96c pl2 makes X11 hang

I'm using mcc-interim 0.96c, and made the upgrade to pl1.
It was not to much traffic, then I decided to go to pl2 (banjo.concert.net).
Compiling was no problem (german-keybord, boot from /dev/hda1).
I got the last mount (from banjo in incoming-dir).
Now come problems :
no way to mount the DOS-Partition (dev/hda4)
not any response from X11 anymore.
switching back to the old Image X11 works fine...

My System is a amd 386/40 - 8Mb-Ram -sigma-legend-II(et4000)
               Seagate St3144 130 Mb At-bus-HDD
               /dev/hda1 7Mb  - root
               /dev/hda2 16Mb - swap
               /dev/hda3 64Mb - usr and home
               /dev/hda4 38Mb - dos5.0

Has anybody similar problems - any solutions?

By the way is X11 not the heaven of windowing, but would be nice, if works...

Thanks for help
Arnd Burghardt

Arnd Burghardt

An der Tillyschanze 4           !
3392 Clausthal-Zellerfeld       !


Remenber what AL says : Save often, save early !

2. I'm VERY frustrated with screen resolutions and virtual desktop

3. Wrong posting: Changing Hostname made my Linux Box go crazy, Correction here

4. YDL 2.2 printing

5. Making xwd-pictures // wrong colors

6. configure client

7. depmod making dependecies of wrong modules dir

8. SPECweb99 results

9. Iptables, NAT and 2 NIC - what did I made wrong ?

10. hep: panic: cannot mount root ! wrong geometry?...

11. gcc 'cannot find cc1' and reports wrong version !!

12. made mistake in fstab, cannot write to /

13. Cannot read tape made on HPUX 11