qcommon/scripts.c:1176 RS_GetTechByProvided:
Problem here is, this function should not be available for the server imo. But if you add it to scripts.c and don't add a #ifndef DEDICATED_ONLY /* */ #endif around it, the server could not be linked.
Index: qcommon/scripts.c
===================================================================
--- qcommon/scripts.c (Revision 5297)
+++ qcommon/scripts.c (Arbeitskopie)
@@ -1166,12 +1166,12 @@
*/
void Com_AddObjectLinks(void)
{
+#ifndef DEDICATED_ONLY
objDef_t *od = NULL;
technology_t *tech = NULL;
int i, j, k;
for (i = 0, od = csi.ods; i < csi.numODs; i++, od++) {
-
/* Add links to technologies. */
tech = RS_GetTechByProvided(od->kurz);
od->tech = tech;
@@ -1179,7 +1179,7 @@
if (!od->tech)
Sys_Error("Com_AddObjectLinks: Could not find a valid tech for item %s\n", od->kurz);
#endif /* DEBUG */
-
+
if (!Q_strncmp(od->type, "ammo", 4)) {
/* Add weapon-links to ammo items. */
k = 0;
@@ -1188,14 +1188,14 @@
if (tech->require_AND.type[j] == RS_LINK_WEAPON) {
od->forWeapon[k] = tech->require_AND.idx[j];
k++;
- }
+ }
}
} else {
/* Non-ammo items. */
od->forWeapon[0] = -1;
}
}
-
+#endif
}
/**
Index: qcommon/common.h
===================================================================
--- qcommon/common.h (Revision 5297)
+++ qcommon/common.h (Arbeitskopie)
@@ -72,8 +72,6 @@
/*============================================================================ */
-extern qboolean bigendien;
-
extern short BigShort(short l);
extern short LittleShort(short l);
extern int BigLong(int l);
This patch fixes current compile problems for me.
We should talk about your other question via Jabber or IRC