thegeekster |
01-05-2004 01:23 AM |
Certain programs won't compile
I just tried to compile three differnt programs in a row and all wouldn't compile with the make command. They would configure without any problem, tho'. At first I thought I broke something, but I tried compiling the last app that I had success with and it compiled okay. And I was able to compile a different program (which I didn't have before) successfully, too.
Here are the err msgs from all three:
Code:
kbear-3.0alpha1b-1.src.tar.bz2 (GUI app)
----------------------------------------
...
kbearsynchjob.cpp: In member function `void
KBear::KBearSynchJob::makeSourceList(KURL::List&)':
kbearsynchjob.cpp:75: `ConnectionManager' undeclared (first use this function)
kbearsynchjob.cpp:75: (Each undeclared identifier is reported only once for
each function it appears in.)
kbearsynchjob.cpp:75: syntax error before `::' token
make[4]: *** [kbearsynchjob.lo] Error 1
make[4]: Leaving directory `/usr/local/p9780c-1337a/source/kbear-3.0alpha1b/kbear/lib/jobclasses'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/p9780c-1337a/source/kbear-3.0alpha1b/kbear/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/p9780c-1337a/source/kbear-3.0alpha1b/kbear'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/p9780c-1337a/source/kbear-3.0alpha1b'
make: *** [all] Error 2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
yafc-1.0.tar.bz2 (curses app)
-----------------------------
...
../lib/libfoo.a(makepath.o)(.text+0x1a1): In function `make_path':
/home/kdgeekster/+-p9780c-1337a-+/source/yafc-1.0/lib/makepath.c:190: undefined reference to `errno'
../lib/libfoo.a(makepath.o)(.text+0x1ca):/home/kdgeekster/+-p9780c-1337a-+/source/yafc-1.0/lib/makepath.c:173: undefined reference to `errno'
../lib/libfoo.a(makepath.o)(.text+0x289):/home/kdgeekster/+-p9780c-1337a-+/source/yafc-1.0/lib/makepath.c:261: undefined reference to `errno'
../lib/libfoo.a(makepath.o)(.text+0x2cb):/home/kdgeekster/+-p9780c-1337a-+/source/yafc-1.0/lib/makepath.c:248: undefined reference to `errno'
../lib/libfoo.a(makepath.o)(.text+0x2f7):/home/kdgeekster/+-p9780c-1337a-+/source/yafc-1.0/lib/makepath.c:242: undefined reference to `errno'
../lib/libfoo.a(makepath.o)(.text+0x3d9):/home/kdgeekster/+-p9780c-1337a-+/source/yafc-1.0/lib/makepath.c:297: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make[4]: *** [yafc] Error 1
make[4]: Leaving directory `/usr/local/p9780c-1337a/source/yafc-1.0/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/p9780c-1337a/source/yafc-1.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/p9780c-1337a/source/yafc-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/p9780c-1337a/source/yafc-1.0'
make: *** [all] Error 2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
xftp.tar.Z (GUI app)
--------------------
...
In file included from aconnect.c:61:
str.h:62:14: macro "strchr" requires 2 arguments, but only 1 given
In file included from aconnect.c:61:
str.h:62: warning: built-in function `strchr' declared as non-function
make: *** [aconnect.o] Error 1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The only thing they have in common is they're all ftp clients, 2 GUIs and 1 curses.
As for the compiler, here's what I've got installed:
Code:
# swaret --list gcc
swaret 1.6.0-4
Listing all available Packages...
gcc-3.2.3-i486-2 (3372 kB) [Status: INSTALLED]
gcc-g++-3.2.3-i486-1 (4451 kB) [Status: INSTALLED]
gcc-g77-3.2.3-i486-1 (2385 kB) [Status: NOT INSTALLED]
gcc-gnat-3.2.3-i486-1 (5416 kB) [Status: NOT INSTALLED]
gcc-java-3.2.3-i486-1 (7049 kB) [Status: INSTALLED]
gcc-objc-3.2.3-i486-1 (1472 kB) [Status: NOT INSTALLED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# swaret --list glib
swaret 1.6.0-4
Listing all available Packages...
glib-1.2.10-i386-2 (181 kB) [Status: INSTALLED]
glib2-2.2.3-i486-1 (868 kB) [Status: INSTALLED]
glibc-2.3.2-i486-1 (14082 kB) [Status: INSTALLED]
glibc-debug-2.3.2-i486-1 (29699 kB) [Status: NOT INSTALLED]
glibc-i18n-2.3.2-noarch-1 (6553 kB) [Status: NOT INSTALLED]
glibc-profile-2.3.2-i486-1 (21854 kB) [Status: NOT INSTALLED]
glibc-solibs-2.3.2-i486-1 (1024 kB) [Status: INSTALLED]
glibc-zoneinfo-2.3.2-noarch-1 (273 kB) [Status: INSTALLED]
I've never had any problems before until now (and I almost always compile from source rather than install pkgs). If anyone has any ideas, I'm all ears :)
PS: I'm running Slack 9.1.....
|