LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   libbridge_private.h:36:28: sysfs/libsysfs.h: No such file or directory (https://www.linuxquestions.org/questions/linux-software-2/libbridge_private-h-36-28-sysfs-libsysfs-h-no-such-file-or-directory-254922/)

cellist 11-14-2004 10:50 PM

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

cellist 12-07-2004 10:10 AM

Hello, does anyone have any clue on this one? Please? :)


All times are GMT -5. The time now is 04:36 PM.