issue with SAMBA [ Heee?! Waaaa Yattaaa :: solved ] - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 07:03:23 pm
content: I have put a gentoo-x86/32bit stage4 inside a virtual machine(virtual box) and it's running kernel version 2.6.39I have added CIFS support in the kernel setupand emerged mount-cifs utilities (mount.cifs)then I haveenabled "sharing folder" (D:\idp.do) in WindowsXp machineand filled the following in /etc/fstabCode://192.168.1.12/idp.do/ /idp.do cifs auto,guest,users,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,credentials=/etc/cifspasswd 0 0(/etc/cifspasswd is properly set with my Xp password)Code:exp sim # mount /idp.doapparently it works, I can access files in the shared XP folder through linuxbut ...Code:exp # cd simexp sim # makecompiling pkg_SPB ... Makefile:13: recipe for target 'work/pkg_SPB.o' failedmake: *** [work/pkg_SPB.o] Error 2Code:exp sim # cd ..exp sim # cp -r sim /rootexp sim # cd /root/simexp sim # makecompiling pkg_SPB ... donein the first case, compiling files accessed through SAMBA does not workwhile compiling the same files accessed through native-ext3 does workwhat's wrong? any idea ?

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 07:31:58 pm
content: makedepend fails on CIFS mounted share

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 07:33:25 pm
content: @blueskulllatek has the same issue and it claims it's not able to find a dot tek (ascii) filenano can open it (through) CIFS, but pdflatek (launched by Makefile) fails

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 07:48:03 pm
content: Code:exp latek-example # lsMakefile source tdc.tex tweaklist.sty worktdc.tex exists !Code:exp latek-example # makebuilding tdc.pdf ... This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)restricted \write18 enabled.entering extended mode! I can't find file `tdc.tex'.<*> tdc.tex(Press Enter to retry, or Control-D to exit)Please type another input file name:but inside the shared-CIFS folder, latekpdf is not able to see the fileCode:exp latek-example # cat MakefileTEX=tdc.texPDF=$(TEX:.tex=.pdf)AUX=work/$(TEX:.tex=.aux.txt)LOG=work/$(TEX:.tex=.log.txt)DBG=work/$(TEX:.tex=.dbg.txt)OPT=-file-line-error -output-directory ./workall: $(PDF)%.pdf: %.tex@echo -n "building $(PDF) ... "@pdflatex $(OPT) $<#1> $(LOG) 2> $(DBG)@pdflatex $(OPT) $<#1> $(LOG) 2> $(DBG)@echo "done"clean:@rm -f work/$(PDF) $(AUX) $(LOG) $(DBG)dbg:@echo "{ work/$(PDF) $(AUX) $(LOG) $(DBG) }"Code:exp latek-example # file tdc.textdc.tex: LaTeX 2e document, ASCII text, with very long linesWTF?!?!?!?

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 07:52:11 pm
content: Code:exp latek-example # file tdc.textdc.tex: LaTeX 2e document, ASCII text, with very long linesit worksCode:exp latek-example # nano tdc.texit works, I can edit/save the fileCode:exp latek-example # pdflatex -file-line-error -output-directory ./work tdc.texThis is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)restricted \write18 enabled.entering extended mode! I can't find file `tdc.tex'.<*> tdc.tex(Press Enter to retry, or Control-D to exit)Please type another input file name:! Emergency stop.<*> tdc.tex! ==> Fatal error occurred, no output PDF file produced!Transcript written on ./work/texput.log.it doesn't see the fileso, it's not Make(file), it's gcc/ghdl/pdflatexwhat is the difference between them ?why /sbin/file and /usr/bin/nano have successwhile gcc/ghdl/pdflatex fail ?!?!?

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 08:10:50 pm
content: compiler-cant-find-file-on-cifs-samba-share

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 08:30:55 pm
content: solutionQuoteadded: { unix, nobrl, noserverino }latek now works

author: apelly
author_rank: Unknown
timestamp: November 15, 2016, 09:00:08 pm
content: If I had to guess (and I know I don't) I'd say there's some sort of optimisation checking for file changes that doesn't work on ntfs.

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 09:56:26 pm
content: Code:@ghdl -r test --wave=work/tbencha.ghw --stop-time=10usCode:ghdl: compilation error******************** GHDL Bug occured ****************************Please report this bug on http://gna.org/projects/ghdlGHDL release: GHDL 0.29 (20100109) [Sokcho edition]Compiled with GNAT Version: 4.3.5In directory: /idp.do/cpld-fpga/soc/my_lcd_stn/sim/Command line:ghdl -r test --wave=work/tbencha.ghw --stop-time=100usException STORAGE_ERROR raisedException information:Exception name: STORAGE_ERRORMessage: stack overflow (or erroneous memory access)Call stack traceback locations:0x811387b******************************************************************ghdl does not work as expected on CIFS share

author: legacy
author_rank: Super Contributor
timestamp: November 15, 2016, 10:06:13 pm
content: Code://192.168.1.12/idp.do /idp.do cifs uid=0,guid=0,noauto,nobrl,noserverino,rw,iocharset=utf8,credentials=/etc/cifspasswd 0 0this works both on latek and ghdl(removed some extra features)