Date: Wed, 17 Jan 96 07:00:46 MST To: djgpp AT sun DOT soe DOT clarkson DOT edu From: enoch AT terranet DOT terranet DOT ab DOT ca (Peter Plum) Subject: Peter: More help with undefined references and yes -Wall Hi again guys. Need your precious help again. If a certain.h file is needed do we need to have the corresponding certain.c file as well? I was trying to conpile the following file from \SRC\BINUT-2.4\BINUTILS\ directory and got the following response. As you can see I tried -lpc. I did have to find and install bfd.h ansidecl.h, bucomm.h and getopt.h where they could be found. What else is necessary? Thanks again! -2.4\BINUTILS>gcc STRINGS.c -lpc -liostr undefined reference to `program_name' undefined reference to `program_name' undefined reference to `xmalloc_set_program_name' undefined reference to `getopt_long' : undefined reference to `program_name' : undefined reference to `program_version' : undefined reference to `program_name' : undefined reference to `bfd_init' : undefined reference to `bfd_get_section_contents' : undefined reference to `bfd_openr' : undefined reference to `bfd_check_format' : undefined reference to `bfd_close' : undefined reference to `bfd_map_over_sections' : undefined reference to `bfd_close' : undefined reference to `bfd_nonfatal' : undefined reference to `program_name' : undefined reference to `program_name' : undefined reference to `program_name' : undefined reference to `program_name' "In Him was life, and His life is the light of men He came unto His own but His own received Him not but He gave power to as many as would receive Him to become the sons of God!" Peter Plum RR1 Site10 Box 10 Grande Prairie. AB T8V 2Z8 403 538 4713