LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2006, 08:54 PM   #1
greatgoogamooga
LQ Newbie
 
Registered: May 2006
Posts: 24

Rep: Reputation: 15
cannot "make" in Fedora 5


Up until recently I was running Slackware. I recently installed FC5 on my desktop and am unable to compile ANYTHING. No matter what I'm making, I get either error 1 or error 2 messages, which I understand dont' really mean anything in particular. When I installed FC5, I made sure to install everything, including source code.

I'm not a complete newbie. I was able to compile and install all I wanted in Slackware. What's the difference here? I can onlyu install RPMs and that's a little too limited for me.

TIA

Chris
 
Old 06-08-2006, 09:07 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Why not post the error messages you are getting which would give people an idea of the exact problems you are having?
 
Old 06-09-2006, 12:38 AM   #3
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
it could be that you don't have the kernel source installed (if you're installing something that depends on that)

You might also have to install gcc/glibc
 
Old 06-09-2006, 06:49 AM   #4
greatgoogamooga
LQ Newbie
 
Registered: May 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Here are the last few lines of the most recent attemp (pilot-link-0.12.0-pre2):

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -g -Wall -MT libpisock_la-syspkt.lo -MD -MP -MF .deps/libpisock_la-syspkt.Tpo -c syspkt.c -fPIC -DPIC -o .libs/libpisock_la-syspkt.o
syspkt.c:41: error: static declaration of 'sys_RPCerror' follows non-static declaration
../include/pi-syspkt.h:54: error: previous declaration of 'sys_RPCerror' was here
make[2]: *** [libpisock_la-syspkt.lo] Error 1
make[2]: Leaving directory `/home/campagna/Desktop/downloads/pilot-link-0.12.0-pre2/libpisock'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/campagna/Desktop/downloads/pilot-link-0.12.0-pre2'
make: *** [all] Error 2
 
Old 06-09-2006, 07:09 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Have you tried installing pilot-link from the fedora core repositories? If you want to compile from source, try the new version of pilot link. What other packages have failed to compile?
 
Old 06-09-2006, 07:10 AM   #6
greatgoogamooga
LQ Newbie
 
Registered: May 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Here's another examply, this one from jpilot-syncmal-0.72.1



libmal.c: In function 'readAndUseDeviceInfoDatabase':
libmal.c:361: error: too many arguments to function 'dlp_ReadRecordByIndex'
libmal.c: In function 'readDeviceUserConfig32':
libmal.c:639: error: too many arguments to function 'dlp_ReadRecordByIndex'
libmal.c: In function 'readDeviceUserConfig31':
libmal.c:672: error: too many arguments to function 'dlp_ReadRecordByIndex'
libmal.c: In function 'writeDeviceUserConfig':
libmal.c:727: error: too many arguments to function 'dlp_ReadRecordByIndex'
libmal.c: In function 'getRecordBase':
libmal.c:1011: warning: passing argument 3 of 'dlp_ReadNextModifiedRec' from incompatible pointer type
libmal.c:1011: error: too many arguments to function 'dlp_ReadNextModifiedRec'
libmal.c:1015: warning: passing argument 4 of 'dlp_ReadRecordByIndex' from incompatible pointer type
libmal.c:1015: error: too many arguments to function 'dlp_ReadRecordByIndex'
libmal.c: In function 'Connect':
libmal.c:1252: warning: 'pilot_connect' is deprecated (declared at /usr/include/pi-header.h:28)
make: *** [libmal.lo] Error 1
 
Old 06-09-2006, 07:12 AM   #7
greatgoogamooga
LQ Newbie
 
Registered: May 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz
Have you tried installing pilot-link from the fedora core repositories? If you want to compile from source, try the new version of pilot link. What other packages have failed to compile?
that's the problem, I get errors no matter what I attempt to compile.
 
Old 06-09-2006, 07:23 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Those packages won't compile for me as well. One reason might be the packages themselves or the fact that Fedora Core uses newer build tools e.g. gcc 4.1. Everything else I have tried to compile works fine for me.
 
Old 06-09-2006, 07:35 AM   #9
greatgoogamooga
LQ Newbie
 
Registered: May 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by DeusExLinux
it could be that you don't have the kernel source installed (if you're installing something that depends on that)

You might also have to install gcc/glibc

got 'em

gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
libgcc_s-4.1.0-20060304.so.1
 
Old 06-09-2006, 07:38 AM   #10
greatgoogamooga
LQ Newbie
 
Registered: May 2006
Posts: 24

Original Poster
Rep: Reputation: 15
How about a little variety. Different error message when I tried to compile the driver for the adm8211 wireless card:




mkdir -p /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/wireless
cp -f adm8211.ko /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/wireless/
depmod -a
make: depmod: Command not found
make: *** [install] Error 127


ADDED: that one made me wonder a bit. I did that one as su. I logged out of my user acount and tried it again as root. adm8211 compiled. I'm gettng somewhere. Went back and tried Pilot-link as root....no dice

Last edited by greatgoogamooga; 06-09-2006 at 07:46 AM.
 
Old 06-09-2006, 07:44 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally Posted by greatgoogamooga
How about a little variety. Different error message when I tried to compile the driver for the adm8211 wireless card:




mkdir -p /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/wireless
cp -f adm8211.ko /lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/wireless/
depmod -a
make: depmod: Command not found
make: *** [install] Error 127
You have to be root to run depmod.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 03:33 PM
window maker "make" / "make install" problem xiekke Fedora 2 08-08-2007 11:55 AM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 07:25 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
"make" command won't work in Fedora...installing Nvidia Ethernet drv's help Ge|atinousFury Linux - Hardware 24 01-22-2004 05:42 PM


All times are GMT -5. The time now is 01:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration