So, I found out it is only about the functions I am going to use... Anyone an idea why it says e.g.
Undefined symbols for architecture x86_64:
"rDefault(int, int, char**)", referenced from:
_main in tt-5ce84d.o
ld: symbol(s) not found for architecture x86_64
I am happy about any constructive answer...
Code:
#include "kernel/mod2.h" // general settings/macros
#include "Singular/ipid.h" // for SModulFunctions, leftv
#include "Singular/libsingular.h"
#include "misc/auxiliary.h"
#include "kernel/structs.h"
#include "kernel/polys.h"
#include "coeffs/numbers.h"
#include "coeffs/longrat.h"
#include "kernel/oswrapper/feread.h"
#include "polys/monomials/ring.h"
#include "omalloc/omalloc.h"
#include "polys/clapsing.h"
#include "polys/monomials/maps.h"
#include "kernel/GBEngine/kutil.h"
#include "kernel/GBEngine/kstd1.h"
#include "kernel/GBEngine/tgb.h"
#include "polys/sparsmat.h"
#include "Singular/subexpr.h"
#include "Singular/tok.h"
#include "Singular/grammar.h"
#include "Singular/ipid.h"
#include "Singular/ipshell.h"
#include "Singular/attrib.h"
#include "misc/options.h"
int main( int, char *argv[] )
{
// construct the ring Z/32003[x,y,z]
// the variable names
char **n=(char**)omalloc(3*sizeof(char*));
n[0]=omStrDup("x");
n[1]=omStrDup("y");
n[2]=omStrDup("z2");
}