LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2006, 05:27 AM   #1
bipins1979
LQ Newbie
 
Registered: Jul 2004
Location: cochin
Distribution: redhat
Posts: 11

Rep: Reputation: 0
Problem compiling multipath-tools


multipath-tools-0.4.6
gcc-3.4.4
kernel-2.6.15.4

cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o memory.o memory.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o parser.o parser.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o vector.o vector.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o devmapper.o devmapper.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o callout.o callout.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o hwtable.o hwtable.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o blacklist.o blacklist.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o util.o util.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o dmparser.o dmparser.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o config.o config.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o structs.o structs.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o cache.o cache.c
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -c -o discovery.o discovery.c
discovery.c: In function `path_discovery':
discovery.c:67: warning: implicit declaration of function `sysfs_open_directory'
discovery.c:67: warning: assignment makes pointer from integer without a cast
discovery.c:72: warning: implicit declaration of function `sysfs_read_directory'
discovery.c:74: error: dereferencing pointer to incomplete type
discovery.c:74: error: dereferencing pointer to incomplete type
discovery.c:74: error: dereferencing pointer to incomplete type
discovery.c:74: error: dereferencing pointer to incomplete type
discovery.c:74: error: dereferencing pointer to incomplete type
discovery.c:78: error: dereferencing pointer to incomplete type
discovery.c:81: error: dereferencing pointer to incomplete type
discovery.c:84: warning: implicit declaration of function `sysfs_close_directory'
discovery.c:91: error: dereferencing pointer to incomplete type
discovery.c:99: error: dereferencing pointer to incomplete type
discovery.c: In function `sysfs_get_vendor':
discovery.c:179: warning: implicit declaration of function `sysfs_read_attribute_value'
discovery.c: In function `devt2devname':
discovery.c:247: warning: assignment makes pointer from integer without a cast
discovery.c:250: error: dereferencing pointer to incomplete type
discovery.c:250: error: dereferencing pointer to incomplete type
discovery.c:250: error: dereferencing pointer to incomplete type
discovery.c:250: error: dereferencing pointer to incomplete type
discovery.c:250: error: dereferencing pointer to incomplete type
discovery.c:251: error: dereferencing pointer to incomplete type
discovery.c:266: error: dereferencing pointer to incomplete type
make[1]: *** [discovery.o] Error 1

 
Old 02-24-2006, 05:48 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i'm not sure but i think that the 3 series gcc took away some typecasting extensions. i think look for the newest version of the multi-path-tools. it can be very hard to find in the code and fix at least it is for me. sometimes you can find where some developer has a fixed and created a gcc3 patch for the software.

Last edited by foo_bar_foo; 02-24-2006 at 05:51 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install Compiling tools? SGFHK321 Linux - Newbie 7 07-10-2004 07:53 AM
multipath routing problem jszmajda Linux - Networking 4 05-05-2004 08:15 AM
compiling module-init-tools-0.9.14 Thames Mandriva 4 05-03-2004 07:58 PM
compiling a kernel: module-init-tools conflict, depmod problem, modules sterrenkijker Debian 3 03-08-2004 10:07 PM
Having Trouble compiling mii-tools LinuxRacr Linux - Software 1 06-07-2002 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:41 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
Open Source Consulting | Domain Registration