From: SourceForge.net <no...@so...> - 2004-05-25 07:14:02
|
Bugs item #959538, was opened at 2004-05-24 16:19 Message generated for change (Settings changed) made by bhojas You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387023&aid=959538&group_id=26396 >Category: iscsi-drvr Group: 4.0.1 Status: Open Resolution: None Priority: 5 Submitted By: Henri Hennebert (hennebert) >Assigned to: Naveen Burmi (naveenb) Summary: compilation error on Fedora Core 2 Initial Comment: I try to compile iscsi 4.0.1 on Fedora Core 2 and get this error: # export KBUILD_SRC=/usr/src/linux-2.6.5-1.358 # make Note: using kernel source from /lib/modules/2.6.5-1.358/build containing kernel version 2.6.5-1.358 Note: using kernel config from /lib/modules/2.6.5-1.358/build/.config make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/usr/src/iscsi/linux-iscsi-4.0.1 modules; make[1]: Entering directory `/lib/modules/2.6.5-1.358/build' CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-initiator.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-attr.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-debug-attr.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-probe.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-login.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsiAuthClient.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsiAuthClientGlue.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-crc.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-session.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-timer.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-task.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-portal.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-ioctl.o CC [M] /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-network.o /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-network.c: In function `iscsi_connect': /usr/src/iscsi/linux-iscsi-4.0.1/iscsi-network.c:90: error: too few arguments to function `sock_create' make[2]: *** [/usr/src/iscsi/linux-iscsi-4.0.1/iscsi-network.o] Error 1 make[1]: *** [/usr/src/iscsi/linux-iscsi-4.0.1] Error 2 make[1]: Leaving directory `/lib/modules/2.6.5-1.358/build' in /usr/src/linux-2.6.5-1.358/include/linux/net.h: extern int sock_create(int family, int type, int proto, struct socket **res, int kernpriv); Note: KBUILD_SRC is mandatory otherwise no kernel headers are found. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387023&aid=959538&group_id=26396 |