LinuxQuestions.org
Help answer threads with 0 replies.
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 11-14-2004, 10:50 PM   #1
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 16
Angry libbridge_private.h:36:28: sysfs/libsysfs.h: No such file or directory


Hello everyone,

I am trying to build bridge-utils in Yoper from source but I'm getting the following error:

# make
for x in libbridge brctl doc; do make -C $x ; done
make[1]: Entering directory `/home/ccellist/Downloads/bridge-utils-1.0.4/libbridge'
gcc -Wall -g -I/usr/src/linux/include -c libbridge_devif.c
In file included from libbridge_devif.c:28:
libbridge_private.h:36:28: sysfs/libsysfs.h: No such file or directory
libbridge_devif.c: In function `bridge_sysfs_directory':
libbridge_devif.c:43: error: `SYSFS_PATH_MAX' undeclared (first use in this function)
libbridge_devif.c:43: error: (Each undeclared identifier is reported only once
libbridge_devif.c:43: error: for each function it appears in.)
libbridge_devif.c:53: warning: implicit declaration of function `sysfs_get_class_device'
libbridge_devif.c:53: warning: assignment makes pointer from integer without a cast
libbridge_devif.c:59: error: dereferencing pointer to incomplete type
libbridge_devif.c:60: warning: implicit declaration of function `sysfs_open_directory'
libbridge_devif.c:60: warning: assignment makes pointer from integer without a cast
libbridge_devif.c:43: warning: unused variable `path'
libbridge_devif.c: In function `fetch_id':
libbridge_devif.c:72: warning: implicit declaration of function `sysfs_get_directory_attribute'
libbridge_devif.c:72: warning: assignment makes pointer from integer without a cast
libbridge_devif.c:78: error: dereferencing pointer to incomplete type
libbridge_devif.c:81: error: dereferencing pointer to incomplete type
libbridge_devif.c: In function `fetch_tv':
libbridge_devif.c:98: warning: initialization makes pointer from integer without a cast
libbridge_devif.c:106: error: dereferencing pointer to incomplete type
libbridge_devif.c: In function `fetch_int':
libbridge_devif.c:113: warning: initialization makes pointer from integer without a cast
libbridge_devif.c:119: error: dereferencing pointer to incomplete type
libbridge_devif.c: In function `br_get_bridge_info':
libbridge_devif.c:239: warning: implicit declaration of function `sysfs_close_directory'
libbridge_devif.c: In function `br_set':
libbridge_devif.c:342: warning: assignment makes pointer from integer without a cast
libbridge_devif.c:344: warning: implicit declaration of function `sysfs_write_attribute'
libbridge_devif.c: In function `port_set':
libbridge_devif.c:414: warning: assignment makes pointer from integer without a cast
libbridge_devif.c: In function `br_read_fdb':
libbridge_devif.c:468: warning: assignment makes pointer from integer without a cast
libbridge_devif.c:469: error: `SYSFS_PATH_MAX' undeclared (first use in this function)
libbridge_devif.c:471: error: dereferencing pointer to incomplete type
libbridge_devif.c:469: warning: unused variable `path'
make[1]: *** [libbridge_devif.o] Error 1
make[1]: Leaving directory `/home/ccellist/Downloads/bridge-utils-1.0.4/libbridge'
make[1]: Entering directory `/home/ccellist/Downloads/bridge-utils-1.0.4/brctl'
make[1]: *** No rule to make target `../libbridge/libbridge.a', needed by `brctl'. Stop.
make[1]: Leaving directory `/home/ccellist/Downloads/bridge-utils-1.0.4/brctl'
make[1]: Entering directory `/home/ccellist/Downloads/bridge-utils-1.0.4/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ccellist/Downloads/bridge-utils-1.0.4/doc'

I have recompiled the kernel to allow bridge support (the module exists and everything). I'm using kernel 2.6.8.1 at the moment. I've searched google and this site, and haven't found anything that fits. Any thoughts? I'd like to set up a bridged network. BTW, does anyone know if ppp interfaces can be bridged to ethernet interfaces? Thanks!

-Arturo

Last edited by cellist; 11-14-2004 at 10:51 PM.
 
Old 12-07-2004, 10:10 AM   #2
cellist
Member
 
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Original Poster
Rep: Reputation: 16
Hello, does anyone have any clue on this one? Please?
 
  


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
libtermcap.so.2: cannot open shared object file: No such file or directory tcma Linux - Software 11 02-24-2012 03:00 AM
LM Sensors Help, Can't access procfs/sysfs file Unable to find i2c bus information; Whiskers Linux - Software 16 11-03-2008 04:58 PM
Where do I get libsysfs-dev? niverson Linux - Software 7 12-10-2006 09:52 AM
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 12:59 AM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM

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

All times are GMT -5. The time now is 06:07 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