[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Undeclared symbols and functions building gdb-7.3.1
From: |
manu0507 |
Subject: |
Undeclared symbols and functions building gdb-7.3.1 |
Date: |
Sat, 17 Dec 2011 16:30:45 -0800 (PST) |
Hello,
I'm trying to build gdb 7.3.1 from the gdb-7.3.1.tar.gz distribution, with
- Win7-64
- Cygwin (GNU bash, version 4.1.10(4)-release (i686-pc-cygwin))
- MinGW32 (gcc.exe (GCC) 4.6.1)
- mingw32-make (GNU Make 3.82, Built for i386-pc-mingw32)
- and more than willing to supply other config data if it can help.
Running ./configure was apparently flawless (nothing unusual reported).
Then, after a good deal of apparently smooth build, gcc stopped on
undeclared symbols:
mingw32-make[2]: Entering directory `D:/Installs/gdb-7.3.1/libiberty'
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall
-Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ./pex-unix.c -o
pic/pex-unix.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic ./pex-unix.c -o pex-unix.o
./pex-unix.c: In function 'pex_wait':
./pex-unix.c:254:7: warning: implicit declaration of function 'wait'
[-Wimplicit-function-declaration]
./pex-unix.c: At top level:
./pex-unix.c:390:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
./pex-unix.c: In function 'save_and_install_fd':
./pex-unix.c:405:3: warning: implicit declaration of function 'fcntl'
[-Wimplicit-function-declaration]
./pex-unix.c:405:26: error: 'F_GETFD' undeclared (first use in this
function)
./pex-unix.c:405:26: note: each undeclared identifier is reported only once
for each function it appears in
./pex-unix.c:418:20: error: 'FD_CLOEXEC' undeclared (first use in this
function)
./pex-unix.c:418:55: error: 'F_SETFD' undeclared (first use in this
function)
./pex-unix.c:431:31: error: 'F_DUPFD' undeclared (first use in this
function)
./pex-unix.c: In function 'restore_fd':
./pex-unix.c:465:19: error: 'FD_CLOEXEC' undeclared (first use in this
function)
./pex-unix.c:467:29: error: 'F_SETFD' undeclared (first use in this
function)
./pex-unix.c: In function 'pex_unix_exec_child':
./pex-unix.c:560:7: warning: implicit declaration of function 'sleep'
[-Wimplicit-function-declaration]
./pex-unix.c: In function 'pex_unix_wait':
./pex-unix.c:734:5: warning: implicit declaration of function 'kill'
[-Wimplicit-function-declaration]
./pex-unix.c: In function 'pex_unix_pipe':
./pex-unix.c:752:3: warning: implicit declaration of function 'pipe'
[-Wimplicit-function-declaration]
./pex-unix.c: In function 'pex_unix_fdopenw':
./pex-unix.c:768:18: error: 'F_SETFD' undeclared (first use in this
function)
./pex-unix.c:768:27: error: 'FD_CLOEXEC' undeclared (first use in this
function)
./pex-unix.c: In function 'pex_unix_cleanup':
./pex-unix.c:779:27: warning: identifier 'this' conflicts with C++ keyword
[-Wc++-compat]
./pex-unix.c:782:7: warning: identifier 'this' conflicts with C++ keyword
[-Wc++-compat]
./pex-unix.c:783:14: warning: identifier 'this' conflicts with C++ keyword
[-Wc++-compat]
./pex-unix.c:784:13: warning: identifier 'this' conflicts with C++ keyword
[-Wc++-compat]
mingw32-make[2]: *** [pex-unix.o] Error 1
mingw32-make[2]: Leaving directory `D:/Installs/gdb-7.3.1/libiberty'
mingw32-make[1]: *** [all-libiberty] Error 2
mingw32-make[1]: Leaving directory `D:/Installs/gdb-7.3.1'
mingw32-make: *** [all] Error 2
IMHO this looks like some header was not properly included or did not
contain the necessary declarations or they were bypassed... but I have no
idea which one or why. Any suggestion would be greatly appreciated.
Thank you,
Emanuel
--
View this message in context:
http://old.nabble.com/Undeclared-symbols-and-functions-building-gdb-7.3.1-tp32996154p32996154.html
Sent from the Gnu - gdb - Bugs mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Undeclared symbols and functions building gdb-7.3.1,
manu0507 <=