6.2 to 8.0 => compile errors with STL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After upgrading from Linux Red Hat 6.2 to 8.0, some compile
errors occur that has to do with STL (see the make log below)

Can anyone see what is wrong?

Any help is appreciated

Best regards,
Henrik Jensen

----------
Make log:
----------
g++ -I/home/pos/taber/include \
	-I/usr/local/xerces-c-src2_1_0/include \
	-g -c src/main.cc -pg
<command line>:1:9: warning: "cpu" re-asserted
<command line>:1:13: warning: "machine" re-asserted
In file included from /usr/include/sys/types.h:30,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/util/Compilers/GCCDefs.hpp:124,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/util/XercesDefs.hpp:325,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/dom/DOMAttr.hpp:65,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/dom/DOM.hpp:69,
                 from src/main.cc:10:
/usr/include/bits/types.h:29:20: stddef.h: No such file or directory
In file included from 
/usr/local/xerces-c-src2_1_0/include/xercesc/util/Compilers/GCCDefs.hpp:124,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/util/XercesDefs.hpp:325,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/dom/DOMAttr.hpp:65,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/dom/DOM.hpp:69,
                 from src/main.cc:10:
/usr/include/sys/types.h:146:20: stddef.h: No such file or directory
In file included from 
/usr/local/xerces-c-src2_1_0/include/xercesc/util/Compilers/GCCDefs.hpp:125,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/util/XercesDefs.hpp:325,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/dom/DOMAttr.hpp:65,
                 from 
/usr/local/xerces-c-src2_1_0/include/xercesc/dom/DOM.hpp:69,
                 from src/main.cc:10:
/usr/include/limits.h:124:26: no include path in which to find limits.h
In file included from /usr/include/netinet/in.h:212,
                 from /home/pos/taber/include/TServer.h:14,
                 from src/main.cc:12:
/usr/include/bits/socket.h:29:20: stddef.h: No such file or directory
In file included from /usr/include/bits/socket.h:31,
                 from /usr/include/netinet/in.h:212,
                 from /home/pos/taber/include/TServer.h:14,
                 from src/main.cc:12:
/usr/include/limits.h:124:26: no include path in which to find limits.h
In file included from src/main.cc:12:
/home/pos/taber/include/TServer.h:16:43: list: No such file or directory
In file included from /home/pos/taber/include/TServer.h:17,
                 from src/main.cc:12:
/home/pos/taber/include/Constants.h:13:18: string: No such file or directory
In file included from /home/pos/taber/include/TServer.h:18,
                 from src/main.cc:12:
/home/pos/taber/include/Typedefs.h:11:18: string: No such file or directory
/home/pos/taber/include/Typedefs.h:12:16: list: No such file or directory
/home/pos/taber/include/Typedefs.h:13:15: map: No such file or directory
/home/pos/taber/include/Typedefs.h:14:18: vector: No such file or directory
/home/pos/taber/include/Typedefs.h:15:27: utility: No such file or directory
In file included from src/main.cc:13:
/home/pos/taber/include/ATEvent.h:13:16: list: No such file or directory
In file included from /home/pos/taber/include/TInterpreter.h:11,
                 from src/main.cc:14:
/usr/include/stdio.h:34:21: stddef.h: No such file or directory
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from /home/pos/taber/include/TInterpreter.h:11,
                 from src/main.cc:14:
/usr/include/_G_config.h:14:20: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:24,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from /home/pos/taber/include/TInterpreter.h:11,
                 from src/main.cc:14:
/usr/include/wchar.h:48:20: stddef.h: No such file or directory
In file included from /usr/include/gconv.h:28,
                 from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from /home/pos/taber/include/TInterpreter.h:11,
                 from src/main.cc:14:
/usr/include/wchar.h:48:20: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
                 from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from /home/pos/taber/include/TInterpreter.h:11,
                 from src/main.cc:14:
/usr/include/gconv.h:31:20: stddef.h: No such file or directory
In file included from /usr/include/stdio.h:72,
                 from /home/pos/taber/include/TInterpreter.h:11,
                 from src/main.cc:14:
/usr/include/libio.h:53:21: stdarg.h: No such file or directory
In file included from src/main.cc:14:
/home/pos/taber/include/TInterpreter.h:12:32: map: No such file or directory
/home/pos/taber/include/TInterpreter.h:13:35: vector: No such file or 
directory
/home/pos/taber/include/TInterpreter.h:14:36: string: No such file or 
directory
In file included from /home/pos/taber/include/TInterpreter.h:16,
                 from src/main.cc:14:
/home/pos/taber/include/utility.h:11:19: fstream: No such file or directory
/home/pos/taber/include/utility.h:12:35: string: No such file or directory
In file included from /home/pos/taber/include/ATPc.h:13,
                 from /home/pos/taber/include/utility.h:13,
                 from /home/pos/taber/include/TInterpreter.h:16,
                 from src/main.cc:14:
/home/pos/taber/include/ATChar.h:11:16: list: No such file or directory
In file included from /home/pos/taber/include/ATThing.h:12,
                 from /home/pos/taber/include/ATChar.h:13,
                 from /home/pos/taber/include/ATPc.h:13,
                 from /home/pos/taber/include/utility.h:13,
                 from /home/pos/taber/include/TInterpreter.h:16,
                 from src/main.cc:14:
/home/pos/taber/include/ATBase.h:11:18: string: No such file or directory
In file included from /home/pos/taber/include/TId.h:13,
                 from /home/pos/taber/include/ATBase.h:12,
                 from /home/pos/taber/include/ATThing.h:12,
                 from /home/pos/taber/include/ATChar.h:13,
                 from /home/pos/taber/include/ATPc.h:13,
                 from /home/pos/taber/include/utility.h:13,
                 from /home/pos/taber/include/TInterpreter.h:16,
                 from src/main.cc:14:
/usr/include/time.h:38:21: stddef.h: No such file or directory
In file included from /home/pos/taber/include/ATMob.h:13,
                 from /home/pos/taber/include/utility.h:16,
                 from /home/pos/taber/include/TInterpreter.h:16,
                 from src/main.cc:14:
/home/pos/taber/include/TNr.h:11:27: utility: No such file or directory
In file included from src/main.cc:18:
/home/pos/taber/include/random.h:11:18: string: No such file or directory
/home/pos/taber/include/random.h:12:18: vector: No such file or directory
make: *** [main.o] Error 1



_______________________________________________

Blinux-list@redhat.com
https://listman.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]