上网搜了一下,找到解决办法了。我整理如下:
【1】终端执行:vim ~/.vimrc
【2】添加:
set noexpandtab
set autoindent
保存,然后退出
【3】打开你的Makefile
【4】删除Makefile里面的命令前面的空格或tab字符
【5】在命令前面输入tab键,然后保存退出。
【6】终端执行:make。没有错误了。
当前文章被以下社区和专栏收录:
通过修改.vimrc文件设置noexpandtab和autoindent,然后清理Makefile中的空格或tab,重新用tab键对齐命令,执行make命令时即可避免错误。,
上网搜了一下,找到解决办法了。我整理如下:
【1】终端执行:vim ~/.vimrc
【2】添加:
set noexpandtab
set autoindent
保存,然后退出
【3】打开你的Makefile
【4】删除Makefile里面的命令前面的空格或tab字符
【5】在命令前面输入tab键,然后保存退出。
【6】终端执行:make。没有错误了。
Centos7.6操作系统安装+Bond配置(600GB磁盘版本)
1.安装前准备工作 准备centos7.6操作系统镜像 CentOS-7-x86_64-DVD-1810.iso 服务器安装一般都是在BMC界面操作,所以安装前需要在BMC界面挂载好操作系统镜像 重启服务器后自动进入安装界面。 华为大数据集群安装操作系统配置
Makefile:2: *** missing separator. Stop. 解决方法
写了一个简单地源文件和一个makefile,执行make指令的时候,弹出makefile:2: *** missing separator. Stop.错误。查找了快半天了,终于找到问题所在了,现在总结一下可以从哪些方面来排除问题。 1. 查看makefile文件格式, 用编辑器打开makefile文件,在命令格式下,输入:set ff,弹出 查看文件编码格式,输入:set fileencoding,弹出 如果是弹出上面的格式,那这个文件格式和编码格式都是没有问题的。 2. 查看makef.
SPSS因子分析实战:从数据清洗到结果解读的完整流程
本文提供了一份详尽的SPSS因子分析实战指南,涵盖从数据清洗、适用性检验(KMO与巴特利特检验)、公因子提取、因子旋转到结果解读与报告撰写的完整流程。通过具体案例,手把手教你如何利用SPSS进行探索性因子分析,实现数据降维并提炼核心公共因子,适用于市场研究、心理学等多变量数据分析场景。
Makefile:2:*** missing separator. Stop.
中文意思是说缺少分隔符。
高斯泼溅(Gaussian Splatting):3D建模的颠覆性革命
高斯泼溅(Gaussian Splatting):3D建模的颠覆性革命
嵌入式系统(一):鸿蒙系统
本文为期末复习笔记,内容仅供参考???? 鸿蒙系统是一款面向万物互联时代的、全新的分布式操作系统 鸿蒙提出了基于同一套系统能力、适配多种终端形态的分布式理念 提供全场景(移动办公、运动健康、社交通信、指挥出行、媒体娱乐等)业务能力 华为是OpenHarmony开源项目的共建者、也是共享者之一 鸿蒙技术特性 分布式设计 一次开发,多端部署 系统与硬件解耦,弹性部署 三大分布式能力 分布式软总线 设备间互联互通提供分布式通信能力 从手动发现,进化成自发现 传输高带宽关键技术-极简协议 分布式数据管
makefile:15: *** missing separator。 停止。
使用make命令时报错makefile:15: *** missing separator。 停止。 15:表示Makefile文件中第15行有错误; missing separator:缺少Tab 解决方法:vim makefile 找到对应的行数,在行首按下Tab,保存退出。 Makefile中命令行必须按Tab开头。 ...
统信UOS V20 安装mysql5.7.42详细教程
到bin/下,执行下面的命令,初始化mysql服务信息,得到数据库的初始密码,实际如果目录不一样记得换成自己的目录。下载后通过远程将安装包上传至服务器,我这里将安装包上传至/usr/local/mysql 下。ps:这时候如果还是不能远程访问的话,可能是防火墙的原因,命令行执行以下命令即可。再次登录,发现缺少 libtinfo.so.5文件,再次建立软连接。登录,发现报错,提示缺少libncurses.so.5文件,使用。创建 /var/lib/ 下mysql目录。登录成功,修改密码,设置远程访问。
Makefile:14: *** missing separator. Stop. 生成文件:14:***缺少分隔符。该问题的原因分析并附解决办法
好激动,第一次写博客。 问题描述: 我在学习朱老师物联网大讲堂ARM裸机第四部分,在点亮LED灯中碰到了make产生Makefile:14: *** missing separator. Stop.问题。参考图1: 当我配置好后,make 发现了提示错误,Makefile:14: *** missing separator. Stop缺少分隔符。 原因分析:提示缺少分隔符,可能是makefile文件的符号问题,具体原因我参考了该博客https://blog.csdn.net/baidu_3797349
Word标题样式基准重置:彻底解决重新打开后自动缩进问题
本文深入剖析了Word文档中标题样式在重新打开后自动缩进问题的根源,并提供了两种根治方案。通过调整标题样式基准或将其设为“无样式”,并配合检查修正多级列表设置,可彻底解决这一常见格式顽疾,确保文档格式的稳定性与专业性。
数字IC后端先进工艺设计实现之TSMC 12nm 6Track工艺数字IC后端实现重点难点盘点
如果你仅仅是跑个先进工艺的flow,不懂先进工艺在数字IC后端实现上的不同点,为何有这样的不同点,针对这些不同之处后端实现阶段如何考虑它们,那么你等于0经验!大家可以针对本文所列的要点进行复盘,如果这些都搞透彻了,你就可以大胆把T12 nm的A72和A55项目写到你的简历中。T12这个工艺也是支持Preferred和Non-prefered两个方向来完成routing的,但是它对它们的最小线宽和最小线间距提出了更严格的要求。所有各个子模块的形状,彼此之间的间距都是有严格的要求。为何要有P48这一层?
Makefile:2: *** missing separator. Stop.[linux][vscode]
Makefile:2: *** missing separator. Stop. linux mint系统使用make编译Makefile文件时出现这样的错误 看了很多的回答说是linux系统中的tab键和windows不兼容,但是更改之后还是没有成功
软件产品国际化:前后端及App多语言版本解决方案(超详细实现过程)
多语言版本解决方案是应对全球化趋势的关键策略,它通过构建灵活且可扩展的架构,支持软件产品在不同语言和文化环境下的顺畅运行与展示。此方案涵盖了前端多语言界面实现、后端多语言数据处理及大数据环境下的多语言支持等多个层面,确保公司能够高效地推出适应全球用户多样化需求的软件产品。在前端多语言界面实现方面,解决方案采用了国际化与本地化的结合方法。国际化过程确保软件的功能和代码设计能够处理多种语言和文化习惯,而本地化则针对特定地区进行界面和内容的调整。
makefile:91: *** missing separator. Stop.
在使用makefile编译某个程序时,报如下的错误 makefile:91: *** missing separator. Stop. 这个很显然是因为makefile前面的缩进没有用tab而是使用了四个空格。 于是我去检查下91号,但是我在vscode中打开makefile,发现确实是tab,可还是报错, 于是我用notepad打开makefile,发现在notepad中显示的缩进竟然不是tab而是4个空格,于是在notepad中将缩进改为tab,错误消失。 ...
深度学习工具包 DeepLearningToolbox
深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[](https://bitdeli.com/free "Bitdeli Badge")
锂电池充电器电路设计 里面有电路
锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。
makefile常见错误Makefile:7: *** missing separator. Stop.的解决办法
Makefile:7: *** missing separator. Stop. [解决办法] makefile里禁止乱用TAB,只有命令所在的行才能且只能以TAB开头 其他的如,make变量的定义、赋值,make内定函数如(error “strings”)都不能以TAB开头,不然make会将其作为命令来处理 如例子, 第八行和第十行必须用tab开头 ifneq ($(KERNELRELEASE),) obj-m += module.o else PWD := $(she.
NTscan扫描工具
ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。
解决编译报错:File format not recognized Makefile:99: *** missing separator. Stop.方法总结
通过排查这两个问题,能够成功解决编译和链接程序时的错误。
计算机控制技术及应用
《计算机控制技术及应用》通过总结作者的科研成果和吸收国内外的先进理论、方法和技术,以计算机控制系统的网络化、开放化、智能化和集成化发展趋势为主线索,主要介绍计算机控制系统的基本概念和计算机控制系统的典型形式,计算机控制系统的数学描述与基本分析方法,以及数字PID控制器、最少拍控制系统、达林算法、状态变量设计法等设计方法及其各种改进算法。重点突出计算机控制系统输入输出通道接口的设计方法和典型控制系统的设计案例与实现方法等。
Makefile:11:*** missing separator. Stop.错误的解决办法
Makefile:11:*** missing separator. Stop.错误的解决办法 Linux项目自动化构建工具-make/Makefile 当你编辑好makefile之后,输入命令 make 时出现如下的错误,不要慌,是你自己编辑 makefile 时出现格式错误了。 这种情况是因为一个tab导致,注意一个tab不等于四个空格 解决方法 : 如果是四个空格的话删掉改成一个ta...
*** missing separator. Stop.以及*** No rule to make target `modules‘. Stop.
在linux编写Makefile文件时遇到了Makefile:1: *** missing separator. Stop. 报错,原因是文件中第1行(那个数字是n即代表第n行)中缺少分隔符,我们知道Makefile文件中命令要以tab开头,不过此处倒不是由于缺少tab,而是文件第一行的ifneq($(KERNELRELEASE),)缺少一个空格,应改为 ifneq ($(KERNELRELEASE),) 使ifneq后面有个空格,就好了
Makefile:25: *** missing separator. Stop.
2. 通常, \前面有且只有1个空格,其后面不能有空格。1. Makefile是符号(空格)敏感性;通过比较,发现\后多了一个空格;
“Makefile:2: *** missing separator. Stop.“错误如何解决
这是因为在Makefile文件中,命令(如build、run、clean等)必须以【tab】键开始。所以检查一下Makefile文件里,命令之后是否以【tab】键开始,而不是空格,如果是空格,改成【tab】键。为啥会出现上述错误?
Makefile:2:*** missing separator. Stop
在make命令后出现这种错误提示,是提示第2行没有分隔符。 例如: 1 target:prerequisites 2 command …… 改为: 1 target:prerequisites 2 command …… 就可以了。 在Makefile文件中,命令必须以【tab】键开始。 在.vimrc中添加以下代码后
C:makefile:10: *** missing separator. Stop.
makefile:10:***缺少分隔符。修改成如下之后就可以了?
makefile:4:***缺少分隔符。 停止
This is my makefile: 这是我的makefile: all:ll ll:ll.c gcc -c -Wall -Werror -02 c.c ll.c -o l
Makefile:9: *** missing separator. Stop.
这个问题一般就是说makefile的文件中的某个位置书写格式不对,语法有误。 比如上面的问题就是在第9行的位置,有可能是开头没用tab而用了空格,或者:用了汉语没有用英文之类的问题;
makefile常见问题
1) Makefile:6: *** missing separator. Stop. 报出来Makefile的第6行有缺少分隔符问题. 打开Makefile文件,找到第6行,发现是该行的命令 顶行写,没有用Tab键隔离. 第六行行首加一个Tab键后问题解决. 注: 在makefile中,命令行要以tab键开头。 可通过.RECIPEPREFIX来修改tab为其他符号,如:...
makefile中常见的错误—missing separator. Stop.—原因命令行缺少tab键
1、missing separator. Stop. 出现问题的原因是:在makefile中,命令行要以tab键开头,在windows下和linux下,可能由于编辑器不同, 我们设置的tab不同。这样就容易引发上面的问题。 所以,解决办法是在命令行开头加tab。
2998

被折叠的 条评论
为什么被折叠?



