LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-25-2004, 01:24 PM   #1
MeinVerstand
LQ Newbie
 
Registered: May 2004
Location: Kansas City, Mo
Distribution: Slackware 9.0 (modified)
Posts: 1

Rep: Reputation: 0
Angry GCC 3.2.2 - problems compiling


Ok, this might be a bit lenghty I am sorry.
I'm about to go insane, google has offered no help, so I ask, someone
please save me from a brain bubble.

When compiling a few programs from source I get errors of this nature,
however the configure process completes without a hitch, this is during make:

(GCC 3.4)
lrealpath.c: In function `lrealpath':
lrealpath.c:110: warning: implicit declaration of function `pathconf'
lrealpath.c:110: `_PC_PATH_MAX' undeclared (first use in this function)
lrealpath.c:110: (Each undeclared identifier is reported only once
lrealpath.c:110: for each function it appears in.)
make[1]: *** [lrealpath.o] Error 1

(Libnet)
libnet_version.c: In function `__libnet_print_vers':
libnet_version.c:52: warning: implicit declaration of function `write'
libnet_version.c:52: `STDOUT_FILENO' undeclared (first use in this function)
libnet_version.c:52: (Each undeclared identifier is reported only once
libnet_version.c:52: for each function it appears in.)
make[1]: *** [libnet_version.o] Error 1

These are from public sources of programs that should be well coded, so
it has to be a problem with my server.

Here is my gcc -v output:

Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i386-slackware-linux --host=i386-slackware-linux
Thread model: posix
gcc version 3.2.2

I am also using glibc 2.3.1, if anyone needs more information, please ask...

Thanks in advance!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc compiling problems Jonas Brannstrom Programming 3 08-02-2005 03:12 PM
Problems compiling gcc. sombre1 Linux - Software 3 07-17-2005 05:28 PM
compiling problems with gcc 3.4 1337 Twinkie Linux - Software 1 05-13-2005 03:51 PM
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 05:49 PM
problems compiling Palm Emulator w/ gcc billder3 Linux - Newbie 1 06-27-2001 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration