This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

physmem.o: "pss" has no linkage


Hi all,

I am trying to compile GCC 3.3.1 on a Alpha Tru64 5.1A system.  I am using GNU
make but not the GNU binutils.  I am having to use the Tru64's C compiler.  I
am getting the following errors very early in the 'make bootstrap' process:

...
*** Compiling your program with the command:

/usr/bin/cc -std1 -c -DHAVE_CONFIG_H -g -I. -I./../include physmem.c -o
physmem.o

cc: Error: physmem.c, line 96: In this declaration, "pss" has no linkage and is
of an incomplete type. (incompnolink)
    struct pst_static pss;
----------------------^
cc: Error: physmem.c, line 149: In this statement, "_system_configuration" is
not declared. (undeclared)
  return _system_configuration.physmem;
---------^
cc: Error: physmem.c, line 200: In this declaration, "pss" has no linkage and
is of an incomplete type. (incompnolink)
    struct pst_static pss;
----------------------^
cc: Error: physmem.c, line 201: In this declaration, "psd" has no linkage and
is of an incomplete type. (incompnolink)
    struct pst_dynamic psd;
-----------------------^
rm -f libiberty.a pic/libiberty.a
ar rc libiberty.a \
  regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o
concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o getopt.o
getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o
make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o
physmem.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o
strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o
xstrerror.o
ar: Error: physmem.o cannot open
make[1]: *** [libiberty.a] Error 1
make[1]: Leaving directory `/wrk/swhatley/src/gcc/gcc-3.3.1/libiberty'
make: *** [all-libiberty] Error 2

I used the configuration command:
./configure --prefix=/usr/local/GCC33

I do not see how to get around this error message.  Any help will be
appreciated.

Thanks,
Steven
-- 
                     ___     ____________
                <<<((__O\   (__<>___<>__ \   ____     Don't get rattled by
Steven Whatley         \ \_(__<>___<>__)\O\_/O___>-<  what I say.  It's just
swhatley@hal-pc.org     \O__<>___<>___<>)\___/        my opinion.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]