Pumpkin, Inc.

Pumpkin User Forums

Missing prototype for OSinit

If you're having difficulty with Salvo's configuration options, post it here.

Missing prototype for OSinit

Postby mattwhillock » Tue Jun 02, 2015 1:54 am


I'm trying to use Rowley's CrossStudio for msp430 to build a tiny test program but when building the program I get a "Missing prototype for 'OSinit'" from the compiler and an "undefined symbol '_OSinit'" from the linker. Here is main.c:

#include <salvo.h>
#include <msp430.h>
#include "Task1.h"

void main(void) {

The only options I had to link against from Salvo are libsalvofra430-t.hza and libsalvofra430x-t.hza from the Salvo lib directory. I've pointed CrossStudio to the Salvo inc directory for the includes. If anybody has any suggestions as to how I can get CrossStudio and Salvo to talk together I would be lost grateful. There appears to be no instructions on the Rowley website as to how to do this; I've tried following Pumpkin's AN-23 many times but it is woefully out of date.

Posts: 11
Joined: Thu May 07, 2015 12:17 am

Re: Missing prototype for OSinit

Postby aek » Tue Jun 02, 2015 7:07 am

C is case-sensitive; use OSInit(), not OSinit().
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Return to Configuration

Who is online

Users browsing this forum: No registered users and 1 guest