Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 05-25-2004, 02:24 PM   #1
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_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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:12 PM
Problems compiling gcc. sombre1 Linux - Software 3 07-17-2005 06:28 PM
compiling problems with gcc 3.4 1337 Twinkie Linux - Software 1 05-13-2005 04:51 PM
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 06:49 PM
problems compiling Palm Emulator w/ gcc billder3 Linux - Newbie 1 06-28-2001 12:34 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:58 PM.

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