Skip to contentSkip to conversation

make error

DISCUSSION Thomas Beer 4 participants 4 messages Apr 16, 2002 – Apr 17, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to install a radio clock software, which issues make errors. Can anyone guess what may be wrong. Tryed to modify the pcfclock.c with no positive result. Any suggestions are highly appreciated.

Thanks Tom

make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Wechsel in das Verzeichnis Verzeichnis »/big/download/pcfclock-0.29«
Making all in linux
make[2]: Wechsel in das Verzeichnis Verzeichnis »/big/download/pcfclock-0.29/linux«
gcc -O2 -Wall -fomit-frame-pointer -I/lib/modules/2.4.4/build/include -D__KERNEL__ -DMODULE -DMODVERSIONS -include
/lib/modules/2.4.4/build/include/linux/modversions.h -D__SMP__ -c -o
pcfclock.o pcfclock.c
pcfclock.c:547: parse error before string constant pcfclock.c:547: warning: type defaults to int' in declaration of MODULE_LICENSE'
pcfclock.c:547: warning: data definition has no type or storage class make[2]: *** [pcfclock.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis »/big/download/pcfclock-0.29/linux«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/big/download/pcfclock-0.29«
make: *** [all] Fehler 2
[tom@milestone pcfclock-0.29]$

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 8 lines · Thomas Beer

Hi,

I'm trying to install a radio clock software, which issues make errors. Can anyone guess what may be wrong. Tryed to modify the pcfclock.c with no positive result. Any suggestions are highly appreciated.

Thanks Tom

The thing is with source is that quite often it will only compile with a spesific kernel-verion-header files/and or spesific libs.

I suggest you check the doc's which i am presuming came with the source and see if there is any mention of what the authour used to compile it.

It could also be that he/she used a different compiler than you have.

Quoted 10 lines

make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Wechsel in das Verzeichnis Verzeichnis
»/big/download/pcfclock-0.29«

Quoted 8 lines

Making all in linux
make[2]: Wechsel in das Verzeichnis Verzeichnis »/big/download/pcfclock-0.29/linux«
gcc -O2 -Wall -fomit-frame-pointer -I/lib/modules/2.4.4/build/include -D__KERNEL__ -DMODULE -DMODVERSIONS -include
/lib/modules/2.4.4/build/include/linux/modversions.h -D__SMP__ -c -o
pcfclock.o pcfclock.c
pcfclock.c:547: parse error before string constant

This could be a simple syntax error in the source, or it could be the result of a header file mismatch.

Quoted 3 lines

pcfclock.c:547: warning: type defaults to int' in declaration of MODULE_LICENSE'
pcfclock.c:547: warning: data definition has no type or storage class

Looking at that i would take a wild guess and say that the software is very old indeed and needs lib5 support, thesedays we have Glib's and they are mostly not backwards compatable.

Of course it could be something else intyrly...

Quoted 16 lines

make[2]: *** [pcfclock.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/big/download/pcfclock-0.29/linux«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/big/download/pcfclock-0.29«
make: *** [all] Fehler 2
[tom@milestone pcfclock-0.29]$

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#2 lore raw
In reply to Thomas Beer
Quoted 8 lines · Thomas Beer

Hi,

I'm trying to install a radio clock software, which issues make errors. Can anyone guess what may be wrong. Tryed to modify the pcfclock.c with no positive result. Any suggestions are highly appreciated.

Thanks Tom

Did this thing come with a ./configure script? If so, did you run it before trying make?

Quoted 17 lines

make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Wechsel in das Verzeichnis Verzeichnis »/big/download/pcfclock-0.29«
Making all in linux
make[2]: Wechsel in das Verzeichnis Verzeichnis »/big/download/pcfclock-0.29/linux«
gcc -O2 -Wall -fomit-frame-pointer -I/lib/modules/2.4.4/build/include -D__KERNEL__ -DMODULE -DMODVERSIONS -include
/lib/modules/2.4.4/build/include/linux/modversions.h -D__SMP__ -c -o
pcfclock.o pcfclock.c

This looks as if it is trying to make a kernel module. Did you include module support in 2.4.4 when you configured it?

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

Did you remember to make modules after you built your kernel, and have root run "make modules_install"?

Quoted 4 lines

pcfclock.c:547: parse error before string constant pcfclock.c:547: warning: type defaults to int' in declaration of MODULE_LICENSE'
pcfclock.c:547: warning: data definition has no type or storage class

This looks as if pcfclock.c is trying to use a macro which is not defined in any header file. What follows is fallout.

Quoted 8 lines

make[2]: *** [pcfclock.o] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/big/download/pcfclock-0.29/linux«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/big/download/pcfclock-0.29«
make: *** [all] Fehler 2
[tom@milestone pcfclock-0.29]$

Lawson

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today! For your FREE software, visit:
http://dl.www.juno.com/get/web/.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs