> can you write to /tmp ?
Yes, I'm able to write into the /tmp directory
I don't know why it works now (maybe because i uploaded PB for Linux
again) but the compiler still not works:
Code: Select all
******************************************
PureBasic 3.94 (Linux - x86)
******************************************
Loading external modules...
Starting compilation...
7 lines processed.
Creating the executable.
purebasic.o(.text+0x27): In function `main':
: undefined reference to `PB_PrintN'
purebasic.o(.text+0x34): In function `main':
: undefined reference to `PB_PrintN'
purebasic.o(.text+0x41): In function `main':
: undefined reference to `PB_PrintN'
purebasic.o(.text+0x4e): In function `main':
: undefined reference to `PB_PrintN'
purebasic.o(.text+0x7f): In function `main':
: undefined reference to `PB_PeekS'
purebasic.o(.text+0x95): In function `main':
: undefined reference to `PB_PrintN'
purebasic.o(.text+0xa8): In function `main':
: undefined reference to `PB_PrintN'
purebasic.o(.text+0xb5): In function `main':
: undefined reference to `PB_PrintN'
collect2: ld returned 1 exit status
Error: Linker
strange
here my test code (from Darkdragon):
Code: Select all
printn("CONTENT-TYPE: text/html"+chr(10)+chr(10))
printn("<!DOCTYPE HTML PUBLIC "+chr(34)+"-//W3C//DTD HTML 4.0//EN"+chr(34)+" "+chr(34)+"http://www.w3.org/TR/REC-html40/strict.dtd"+chr(34)+">"+chr(10))
printn("<html lang="+chr(34)+"en"+chr(34)+" dir="+chr(34)+"LTR"+chr(34)+">"+chr(10))
printn("<body>"+chr(10))
printn("Your IP: "+PeekS(getenv_("REMOTE_ADDR"))+chr(10))
printn("</body>"+chr(10))
printn("</html>"+chr(10)+chr(10))